Skip to content

Commit 6d1df43

Browse files
authored
Add support for Laravel 11 (#104)
1 parent c7921ad commit 6d1df43

File tree

6 files changed

+1407
-1577
lines changed

6 files changed

+1407
-1577
lines changed

.github/workflows/test.yml

+4-15
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,18 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
php:
19-
- '8.1'
2019
- '8.2'
21-
- 'nightly'
20+
- '8.3'
2221

2322
laravel:
24-
- '9.0'
2523
- '10.0'
24+
- '11.0'
2625

2726
include:
28-
- php: '8.2'
29-
laravel: '10.0'
30-
stable: true
31-
- php: 'nightly'
32-
experimental: true
33-
34-
- laravel: '9.0'
35-
testbench: '7.0'
3627
- laravel: '10.0'
3728
testbench: '8.0'
29+
- laravel: '11.0'
30+
testbench: '9.0'
3831

3932
steps:
4033
- name: Checkout
@@ -47,9 +40,6 @@ jobs:
4740
extensions: exif,json,mbstring
4841
coverage: pcov
4942

50-
- name: Remove platform from Composer file
51-
run: composer config --unset platform
52-
5343
- name: Configure to use Laravel ${{ matrix.laravel }} with Testbench ${{ matrix.testbench }}
5444
run: |
5545
composer require --no-update laravel/laravel:^${{ matrix.laravel }}
@@ -61,7 +51,6 @@ jobs:
6151
- name: Install Composer dependencies
6252
uses: ramsey/composer-install@v2
6353
with:
64-
composer-options: "--ignore-platform-req=php"
6554
dependency-versions: highest # We're installing additional packages, and cannot use the lockfile
6655

6756
- name: Run unit tests with coverage and printer

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
- Added `EditorJsImageUploaded` event that triggers when an image is uploaded. Via #98 by @woeler.
1111
- Added `EditorJsThumbnailCreated` event that triggers when a thumbnail is generated. Via #98 by @woeler.
12+
- Added Laravel 11 support. Via #104 by @woeler.
13+
- Dropped Laravel 9 support. Via #104 by @woeler.
1214

1315
## [3.3.0]
1416

composer.json

+7-10
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@
1010
"wysiwyg"
1111
],
1212
"require": {
13-
"php": "^8.1",
13+
"php": "^8.2",
1414
"ext-exif": "*",
1515
"ext-json": "*",
1616
"codex-team/editor.js": "*",
17-
"guzzlehttp/guzzle": "^6.0 || ^7.0",
18-
"illuminate/support": "^8.0 || ^9.0 || ^10.0",
19-
"illuminate/events": "^8.0 || ^9.0 || ^10.0",
17+
"guzzlehttp/guzzle": "^7.0",
18+
"illuminate/support": "^10.0 || ^11.0",
19+
"illuminate/events": "^10.0 || ^11.0",
2020
"laravel/nova": "^4.0",
21-
"spatie/image": "^1.7 || ^2.0"
21+
"spatie/image": "^3.0"
2222
},
2323
"require-dev": {
2424
"friendsofphp/php-cs-fixer": "^3.9",
25-
"orchestra/testbench": "^6.0 || ^7.0 || ^8.0",
25+
"orchestra/testbench": "^8.0 || ^9.0",
2626
"php-parallel-lint/php-parallel-lint": "^1.3"
2727
},
2828
"autoload": {
@@ -60,10 +60,7 @@
6060
}
6161
},
6262
"config": {
63-
"sort-packages": true,
64-
"platform": {
65-
"php": "8.1.25"
66-
}
63+
"sort-packages": true
6764
},
6865
"minimum-stability": "dev",
6966
"prefer-stable": true,

0 commit comments

Comments
 (0)