Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Laravel 9 support #163

Merged
merged 1 commit into from
Mar 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: php

php:
- 7.3
- 8.1

cache:
directories:
Expand Down
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Defender
----------

Defender is an Access Control List (ACL) Solution for Laravel 5 / 6 / 7 (single auth). **(Not compatible with multi-auth)**
Defender is an Access Control List (ACL) Solution for Laravel 5 / 6 / 7 / 8 / 9 (single auth). **(Not compatible with multi-auth)**
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.

> Current Build Status
Expand Down Expand Up @@ -29,13 +29,15 @@ Defender is looking for maintainers and contributors.

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:

| Version Constraint | Package Version |
|----------------------|------------------|
| >= 5.0.* && <= 5.3.* | 0.6.* |
| ~5.4, ~5.5 | 0.7.* |
| >= 5.6.* | 0.8.* |
| ~6.0 | 0.9.* |
| ~7.0 | 0.10.* |
| Version Constraint | Package Version |
| ---------------------- | --------------- |
| >= 5.0.\* && <= 5.3.\* | 0.6.\* |
| ~5.4, ~5.5 | 0.7.\* |
| >= 5.6.\* | 0.8.\* |
| ^6.0 | 0.9.\* |
| ^7.0 | 0.10.\* |
| ^8.0 | 0.11.\* |
| ^9.0 | 0.12.\* |

```shell
composer require artesaos/defender
Expand Down
16 changes: 6 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,15 @@
],
"require": {
"php": ">=7.2.0 || ^8.0",
"illuminate/contracts": "^6.0 || ^7.0 || ^8.0",
"illuminate/http": "^6.0 || ^7.0 || ^8.0",
"illuminate/support": "^6.0 || ^7.0 || ^8.0",
"illuminate/database": "^6.0 || ^7.0 || ^8.0",
"illuminate/view": "^6.0 || ^7.0 || ^8.0",
"phpspec/phpspec": "^6.3 || ^7.0 || dev-master"
"laravel/framework": "^6.0 || ^7.0 || ^8.0 || ^9.0",
"phpspec/phpspec": "^6.3 || ^7.0"
},
"require-dev": {
"phpunit/phpunit": "~8.0",
"phpunit/phpunit": "^8.0 || ^9.0",
"friendsofphp/php-cs-fixer": "~2.11",
"orchestra/testbench": "^4.0 || ^5.0 || ^6.0",
"orchestra/database": "^4.0 || ^5.0 || ^6.0",
"fakerphp/faker": "~1.0"
"orchestra/testbench": "^4.0 || ^5.0 || ^6.0 || ^7.0",
"orchestra/database": "^4.0 || ^5.0 || ^6.0 || ^7.0",
"fakerphp/faker": "^1.0"
},
"autoload": {
"psr-4": {
Expand Down
Loading