Skip to content

Commit

Permalink
feat!: upgrade to Laravel 11 and drop PHP 8.1 (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
lindyhopchris authored Mar 14, 2024
1 parent 67c9037 commit 37e1831
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [8.1, 8.2, 8.3]
laravel: [10]
php: [8.2, 8.3]
laravel: [11]

steps:
- name: Checkout Code
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/dummy
vendor/
composer.lock
.phpunit.result.cache
.phpunit.cache
.phpunit.cache/
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. This projec

## Unreleased

### Changed

- **BREAKING** Package now requires Laravel 11.
- Minimum PHP version is now `8.2`.

## [3.4.0] - 2024-03-03

### Added
Expand Down
24 changes: 12 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@
}
],
"require": {
"php": "^8.1",
"php": "^8.2",
"ext-json": "*",
"laravel-json-api/core": "^3.3",
"laravel-json-api/eloquent": "^3.1",
"laravel-json-api/encoder-neomerx": "^3.1",
"laravel-json-api/exceptions": "^2.1",
"laravel-json-api/spec": "^2.0",
"laravel-json-api/validation": "^3.0",
"laravel/framework": "^10.0"
"laravel-json-api/core": "^4.0",
"laravel-json-api/eloquent": "^4.0",
"laravel-json-api/encoder-neomerx": "^4.0",
"laravel-json-api/exceptions": "^3.0",
"laravel-json-api/spec": "^3.0",
"laravel-json-api/validation": "^4.0",
"laravel/framework": "^11.0"
},
"require-dev": {
"laravel-json-api/testing": "^2.1",
"orchestra/testbench": "^8.0",
"phpunit/phpunit": "^10.0"
"laravel-json-api/testing": "^3.0",
"orchestra/testbench": "^9.0",
"phpunit/phpunit": "^10.5"
},
"autoload": {
"psr-4": {
Expand All @@ -53,7 +53,7 @@
},
"extra": {
"branch-alias": {
"dev-develop": "3.x-dev"
"dev-develop": "4.x-dev"
},
"laravel": {
"aliases": {
Expand Down

0 comments on commit 37e1831

Please sign in to comment.