Skip to content

Commit ee8ada6

Browse files
committed
feat!: upgrade to Laravel 11 and drop PHP 8.1
1 parent 92f5d4c commit ee8ada6

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

.github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
strategy:
1515
fail-fast: true
1616
matrix:
17-
php: [8.1, 8.2, 8.3]
18-
laravel: [10]
17+
php: [8.2, 8.3]
18+
laravel: [11]
1919

2020
steps:
2121
- name: Checkout Code

CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
All notable changes to this project will be documented in this file. This project adheres to
44
[Semantic Versioning](http://semver.org/) and [this changelog format](http://keepachangelog.com/).
55

6-
## Unreleased
6+
## Unreleased (Laravel 11)
7+
8+
### Changed
9+
10+
- **BREAKING** Package now requires Laravel 11.
11+
- Minimum PHP version is now `8.2`.
712

813
## [3.1.1] - 2023-11-20
914

composer.json

+7-6
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
}
2424
],
2525
"require": {
26-
"php": "^8.1",
26+
"php": "^8.2",
2727
"ext-json": "*",
28-
"illuminate/contracts": "^10.0",
29-
"illuminate/support": "^10.0",
30-
"laravel-json-api/core": "^3.0",
28+
"illuminate/contracts": "^11.0",
29+
"illuminate/support": "^11.0",
30+
"laravel-json-api/core": "^4.0",
3131
"laravel-json-api/neomerx-json-api": "^5.0.1"
3232
},
3333
"require-dev": {
@@ -45,15 +45,16 @@
4545
},
4646
"extra": {
4747
"branch-alias": {
48-
"dev-develop": "3.x-dev"
48+
"dev-develop": "3.x-dev",
49+
"dev-laravel11": "4.x-dev"
4950
},
5051
"laravel": {
5152
"providers": [
5253
"LaravelJsonApi\\Encoder\\Neomerx\\ServiceProvider"
5354
]
5455
}
5556
},
56-
"minimum-stability": "stable",
57+
"minimum-stability": "dev",
5758
"prefer-stable": true,
5859
"config": {
5960
"sort-packages": true

0 commit comments

Comments
 (0)