Skip to content

Commit 3c7b5f1

Browse files
committed
chore: Update composer.json and CI workflow for PHP 8.1 and Laravel 10+ support
- Updated composer.json to require PHP 8.1 and Laravel framework versions 10.0, 11.0, and 12.0. - Modified CI workflow to test against PHP versions 8.1, 8.2, 8.3, and 8.4, and limited Laravel versions to 10.*, 11.*, and 12.*. - Removed deprecated Laravel versions from the testing matrix.
1 parent d266008 commit 3c7b5f1

File tree

2 files changed

+11
-54
lines changed

2 files changed

+11
-54
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
php: [7.3, 7.4, 8.0, 8.1, 8.2, 8.3]
12-
laravel: [7.*, 8.*, 9.*, 10.*, 11.*, 12.*]
11+
php: [8.1, 8.2, 8.3, 8.4]
12+
laravel: [10.*, 11.*, 12.*]
1313
dependency-versions: [prefer-stable]
1414
include:
1515
- laravel: 12.*
@@ -18,60 +18,17 @@ jobs:
1818
testbench: 9.*
1919
- laravel: 10.*
2020
testbench: 8.*
21-
- laravel: 9.*
22-
testbench: 7.*
23-
- laravel: 8.*
24-
testbench: 6.*
25-
- laravel: 7.*
26-
testbench: 5.*
2721
exclude:
2822
- php: 8.3
29-
laravel: 7.*
30-
- php: 8.3
31-
laravel: 8.*
32-
- php: 8.3
33-
laravel: 9.*
34-
35-
- php: 8.2
36-
laravel: 7.*
37-
- php: 8.2
38-
laravel: 8.*
39-
- php: 8.2
40-
laravel: 9.*
41-
42-
- php: 8.1
43-
laravel: 7.*
44-
- php: 8.1
45-
laravel: 11.*
46-
- php: 8.1
47-
laravel: 12.*
48-
49-
- php: 8.0
5023
laravel: 10.*
51-
- php: 8.0
52-
laravel: 11.*
53-
- php: 8.0
54-
laravel: 12.*
55-
56-
- php: 7.4
57-
laravel: 9.*
58-
- php: 7.4
24+
- php: 8.4
5925
laravel: 10.*
60-
- php: 7.4
61-
laravel: 11.*
62-
- php: 7.4
63-
laravel: 12.*
6426

65-
- php: 7.3
66-
laravel: 9.*
67-
- php: 7.3
68-
laravel: 10.*
69-
- php: 7.3
27+
- php: 8.1
7028
laravel: 11.*
71-
- php: 7.3
29+
- php: 8.1
7230
laravel: 12.*
7331

74-
7532
name: PHP ${{ matrix.php }} / Laravel ${{ matrix.laravel }} / ${{ matrix.dependency-versions }}
7633

7734
steps:

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@
3030
}
3131
],
3232
"require": {
33-
"php": "^8.0|^7.3",
34-
"illuminate/support": "^7.0|^8.0|^9.0|^10.0|^11.0|^12.0",
35-
"illuminate/database": "^7.0|^8.0|^9.0|^10.0|^11.0|^12.0",
36-
"illuminate/validation": "^7.0|^8.0|^9.0|^10.0|^11.0|^12.0",
33+
"php": "^8.1",
34+
"illuminate/support": "^10.0|^11.0|^12.0",
35+
"illuminate/database": "^10.0|^11.0|^12.0",
36+
"illuminate/validation": "^10.0|^11.0|^12.0",
3737
"intervention/image": "^2.5"
3838
},
3939
"require-dev": {
40-
"laravel/framework": "^7.0|^8.0|^9.0|^10.0|^11.0|^12.0",
41-
"orchestra/testbench": "^5.0|^6.0|^7.0|^8.0|^9.0|^10.0",
40+
"laravel/framework": "^10.0|^11.0|^12.0",
41+
"orchestra/testbench": "^8.0|^9.0|^10.0",
4242
"mockery/mockery": "^1.2.3",
4343
"laravel/legacy-factories": "^1.3.9"
4444
},

0 commit comments

Comments
 (0)