Skip to content

Commit

Permalink
feat!: update dependencies and testing workflows for Laravel 11 support
Browse files Browse the repository at this point in the history
Adds PHP 8 and Laravel 11 to testing matrix and updates illuminate dependencies

BREAKING CHANGE: Drops support for PHP 8.0 and Laravel 8
  • Loading branch information
StevePorter92 committed Feb 8, 2024
1 parent d6f13d6 commit 791db52
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.2, 8.1, 8.0, 8.2]
laravel: ["^10.0", "^9.0", "^8.0"]
php: [8.3, 8.2, 8.1]
laravel: ["^11.0", "^10.0", "^9.0"]
dependency-version: [prefer-lowest, prefer-stable]
exclude:
- laravel: "^10.0"
php: 8.0

- laravel: "^11.0"
php: 8.1
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}

steps:
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@
],
"homepage": "https://github.com/spatie/activitylog",
"require": {
"php": "^8.0",
"illuminate/config": "^8.0 || ^9.0 || ^10.0",
"illuminate/database": "^8.69 || ^9.27 || ^10.0",
"illuminate/support": "^8.0 || ^9.0 || ^10.0",
"php": "^8.1",
"illuminate/config": "^8.0|^9.0|^10.0|^11.0",
"illuminate/database": "^8.69|^9.27|^10.0|^11.0",
"illuminate/support": "^8.0|^9.0|^10.0|^11.0",
"spatie/laravel-package-tools": "^1.6.3"
},
"require-dev": {
"ext-json": "*",
"orchestra/testbench": "^6.23 || ^7.0 || ^8.0",
"pestphp/pest": "^1.20"
"orchestra/testbench": "^6.23|^7.0|^8.0|^9.0",
"pestphp/pest": "^1.20|^2.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down

0 comments on commit 791db52

Please sign in to comment.