Skip to content

Commit 9d13946

Browse files
Merge pull request #21 from bedus-creation/20-laravel-upgrade-9x
Support for Laravel 9.x
2 parents bf2d1a6 + 5d1ce08 commit 9d13946

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed

.github/workflows/run-tests-L8.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: true
1010
matrix:
11-
php: [ 8.0, 7.4, 7.3 ]
11+
php: [ 8.0, 7.4]
1212
laravel: [ 8.* ]
1313
dependency-version: [ prefer-lowest, prefer-stable ]
1414
include:

.github/workflows/run-tests-L7.yml .github/workflows/run-tests-L9.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,12 @@ jobs:
88
strategy:
99
fail-fast: true
1010
matrix:
11-
php: [ 8.0, 7.4, 7.3, 7.2]
12-
laravel: [7.*,6.*]
11+
php: [ 8.0 ]
12+
laravel: [ 9.* ]
1313
dependency-version: [ prefer-lowest, prefer-stable ]
1414
include:
15-
- laravel: 7.*
16-
testbench: 5.*
17-
- laravel: 6.*
18-
testbench: 4.*
15+
- laravel: 9.*
16+
testbench: 7.*
1917

2018
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
2119

composer.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
"license": "MIT",
1818
"type": "library",
1919
"require": {
20-
"php": "^7.2|^8.0",
21-
"illuminate/http": "^6.0|^7.0|^8.0",
22-
"illuminate/database": "^6.0|^7.0|^8.0",
23-
"illuminate/support": "^6.0|^7.0|^8.0",
20+
"php": "^7.4|^8.0",
21+
"illuminate/http": "^8.0|^9.0",
22+
"illuminate/database": "^8.0|^9.0",
23+
"illuminate/support": "^8.0|^9.0",
2424
"intervention/image": "^2.5",
2525
"ext-json": "*",
2626
"ext-gd": "*"
2727
},
2828
"require-dev": {
2929
"phpunit/phpunit": "^8.0|^9.0",
30-
"orchestra/testbench": "^4.0|^5.0|^6.0"
30+
"orchestra/testbench": "^6.0|^9.0"
3131
},
3232
"autoload": {
3333
"psr-4": {

readme.md

+6
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ Laravel Media Handler package.
1515
```
1616
composer require aammui/laravel-media
1717
```
18+
**Laravel Compatibility**
19+
20+
| Laravel Version | Role Permission Version | Installation |
21+
|-----------------|-------------------------|---------------------------------------------------|
22+
| 9.x | 2.0.0 | ```composer require aammui/laravel-media:2.0.0``` |
23+
| 8.x, 7.x, 6.x | 1.0.0 | ```composer require aammui/laravel-media:1.0.0``` |
1824

1925
### Publish assests
2026

0 commit comments

Comments
 (0)