Skip to content

Commit

Permalink
Laravel 11 support (#4)
Browse files Browse the repository at this point in the history
* drop L9, add L11 support

* fix composer.json syntax
  • Loading branch information
stancl authored Mar 29, 2024
1 parent 8fd1e7d commit 818d723
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
laravel: [9, 10]
laravel: [10, 11]

steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Install composer dependencies
run: composer require "illuminate/support:^${{ matrix.laravel }}.0"
- name: Run tests
Expand Down
11 changes: 5 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@
}
},
"require": {
"php": "^8.1",
"illuminate/support": "^9.0|^10.0",
"archtechx/enums": "^0.3.2"
"php": "^8.2",
"illuminate/support": "^10.0|^11.0"
},
"require-dev": {
"orchestra/testbench": "^7.0|^8.0",
"pestphp/pest": "^1.2|^2.0",
"pestphp/pest-plugin-laravel": "^1.0|^2.0"
"orchestra/testbench": "^8.0|^9.0",
"pestphp/pest": "^2.0",
"pestphp/pest-plugin-laravel": "^2.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down

0 comments on commit 818d723

Please sign in to comment.