Skip to content

Commit dcadbb1

Browse files
committed
Add Laravel 9 support
1 parent 9feb9c3 commit dcadbb1

File tree

4 files changed

+657
-338
lines changed

4 files changed

+657
-338
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ language: php
22

33
php:
44
- 7.3
5+
- 8.1
56

67
cache:
78
directories:

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Defender
22
----------
33

4-
Defender is an Access Control List (ACL) Solution for Laravel 5 / 6 / 7 (single auth). **(Not compatible with multi-auth)**
4+
Defender is an Access Control List (ACL) Solution for Laravel 5 / 6 / 7 / 8 / 9 (single auth). **(Not compatible with multi-auth)**
55
With security and usability in mind, this project aims to provide you a safe way to control your application access without losing the fun of coding.
66

77
> Current Build Status
@@ -29,13 +29,15 @@ Defender is looking for maintainers and contributors.
2929

3030
Using <a href="https://getcomposer.org/" target="_blank">composer</a>, execute the following command to automatically update your `composer.json`, using the corresponding package version:
3131

32-
| Version Constraint | Package Version |
33-
|----------------------|------------------|
34-
| >= 5.0.* && <= 5.3.* | 0.6.* |
35-
| ~5.4, ~5.5 | 0.7.* |
36-
| >= 5.6.* | 0.8.* |
37-
| ~6.0 | 0.9.* |
38-
| ~7.0 | 0.10.* |
32+
| Version Constraint | Package Version |
33+
| ---------------------- | --------------- |
34+
| >= 5.0.\* && <= 5.3.\* | 0.6.\* |
35+
| ~5.4, ~5.5 | 0.7.\* |
36+
| >= 5.6.\* | 0.8.\* |
37+
| ^6.0 | 0.9.\* |
38+
| ^7.0 | 0.10.\* |
39+
| ^8.0 | 0.11.\* |
40+
| ^9.0 | 0.12.\* |
3941

4042
```shell
4143
composer require artesaos/defender

composer.json

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,15 @@
2323
],
2424
"require": {
2525
"php": ">=7.2.0 || ^8.0",
26-
"illuminate/contracts": "^6.0 || ^7.0 || ^8.0",
27-
"illuminate/http": "^6.0 || ^7.0 || ^8.0",
28-
"illuminate/support": "^6.0 || ^7.0 || ^8.0",
29-
"illuminate/database": "^6.0 || ^7.0 || ^8.0",
30-
"illuminate/view": "^6.0 || ^7.0 || ^8.0",
31-
"phpspec/phpspec": "^6.3 || ^7.0 || dev-master"
26+
"laravel/framework": "^6.0 || ^7.0 || ^8.0 || ^9.0",
27+
"phpspec/phpspec": "^6.3 || ^7.0"
3228
},
3329
"require-dev": {
34-
"phpunit/phpunit": "~8.0",
30+
"phpunit/phpunit": "^8.0 || ^9.0",
3531
"friendsofphp/php-cs-fixer": "~2.11",
36-
"orchestra/testbench": "^4.0 || ^5.0 || ^6.0",
37-
"orchestra/database": "^4.0 || ^5.0 || ^6.0",
38-
"fakerphp/faker": "~1.0"
32+
"orchestra/testbench": "^4.0 || ^5.0 || ^6.0 || ^7.0",
33+
"orchestra/database": "^4.0 || ^5.0 || ^6.0 || ^7.0",
34+
"fakerphp/faker": "^1.0"
3935
},
4036
"autoload": {
4137
"psr-4": {

0 commit comments

Comments
 (0)