Skip to content

Commit

Permalink
Drop support for Laravel 9 & 10
Browse files Browse the repository at this point in the history
* Drop support for Laravel 9 & 10

* Remove CI tests for unsupported laravel versions
  • Loading branch information
oddvalue committed Jun 6, 2024
1 parent e735bb0 commit 93d4dc0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.3'
coverage: none

- name: Install composer dependencies
Expand Down
15 changes: 2 additions & 13 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,12 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [ 8.0,8.1,8.2,8.3 ]
laravel: [ 9.*,10.*,11.* ]
php: [ 8.2,8.3 ]
laravel: [ 11.* ]
stability: [prefer-stable]
include:
- laravel: 9.*
testbench: 7.*
- laravel: 10.*
testbench: 8.*
- laravel: 11.*
testbench: 9.*
exclude:
- php: 8.0
laravel: 10.*
- php: 8.0
laravel: 11.*
- php: 8.1
laravel: 11.*

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@
* [Credits](#credits)
* [License](#license)

## Version compatibility

| Laravel | Drafts |
|---------|--------|
| v9.x | v1.x |
| v10.x | v1.x |
| v11.x | v2.x |

## Installation

You can install the package via composer:
Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
],
"require": {
"php": "^8.0",
"doctrine/dbal": "^3.3",
"illuminate/contracts": "^9.0|^10.0|^11.0",
"illuminate/contracts": "^11.0",
"spatie/laravel-package-tools": "^1.9.2"
},
"require-dev": {
Expand Down

0 comments on commit 93d4dc0

Please sign in to comment.