Skip to content

Commit 14529ba

Browse files
authored
Merge pull request #41 from php-casbin/fix/support-laravel9
fix: support Laravel9
2 parents a25afdb + 491620b commit 14529ba

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ jobs:
9797
- php: 8.0
9898
laravel: 8.*
9999
phpunit: ~9.0
100+
# Laravel 9.x
101+
- php: 8.0
102+
laravel: 9.*
103+
phpunit: ~9.0
100104

101105
name: Laravel${{ matrix.laravel }}-PHP${{ matrix.php }}
102106

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@
2121
"license": "Apache-2.0",
2222
"require": {
2323
"php": ">=7.1.0",
24-
"illuminate/support": "~5.5|~6.0|~7.0|~8.0",
25-
"illuminate/database": "~5.5|~6.0|~7.0|~8.0",
26-
"illuminate/console": "~5.5|~6.0|~7.0|~8.0",
24+
"illuminate/support": "~5.5|~6.0|~7.0|~8.0|~9.0",
25+
"illuminate/database": "~5.5|~6.0|~7.0|~8.0|~9.0",
26+
"illuminate/console": "~5.5|~6.0|~7.0|~8.0|~9.0",
2727
"casbin/casbin": "~3.1",
2828
"casbin/psr3-bridge": "^1.1"
2929
},
3030
"require-dev": {
3131
"phpunit/phpunit": "~7.0|~8.0|~9.0",
3232
"php-coveralls/php-coveralls": "^2.4",
3333
"mockery/mockery": "^1.0",
34-
"laravel/laravel": "~5.5|~6.0|~7.0|~8.0"
34+
"laravel/laravel": "~5.5|~6.0|~7.0|~8.0|~9.0"
3535
},
3636
"autoload": {
3737
"psr-4": {

0 commit comments

Comments
 (0)