Skip to content

Commit f45f154

Browse files
committed
Add Support of Laravel 7.x
1 parent dcc7bbc commit f45f154

File tree

3 files changed

+17
-10
lines changed

3 files changed

+17
-10
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,20 @@
22

33
All Notable changes to `laravel-permission-mongodb` will be documented in this file.
44

5+
## 2.1.0 - 2020-03-05
6+
7+
### Added
8+
- Support of Laravel 7.x
9+
10+
## 2.0.1 - 2020-02-23
11+
12+
### Changed
13+
- Defer registering permissions on the Gate instance until it's resolved
14+
515
## 2.0.0 - 2020-02-20
616

717
### Added
8-
- Support of Laravel 6
18+
- Support of Laravel 6.x
919

1020
## 1.10.1 - 2018-09-16
1121

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,13 @@ $user->can('edit articles');
6464
## Installation
6565

6666
### Laravel
67-
This package can be used in Laravel 6.x and up.
6867

6968
You can install the package via composer:
7069

7170
``` bash
7271
composer require mostafamaklad/laravel-permission-mongodb
7372
```
7473

75-
> For Laravel 5 use version 1.x
76-
7774
You can publish [the migration](database/migrations/create_permission_collections.php.stub) with:
7875

7976
```bash

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@
3030
}
3131
],
3232
"require": {
33-
"php": ">=7.1",
34-
"illuminate/auth": "^6.0",
35-
"illuminate/container": "^6.0",
36-
"illuminate/contracts": "^6.0",
33+
"php": ">=7.0",
34+
"illuminate/auth": "^5.2|^6.0|^7.0",
35+
"illuminate/container": "^5.2|^6.0|^7.0",
36+
"illuminate/contracts": "^5.2|^6.0|^7.0",
3737
"jenssegers/mongodb": "^3.0"
3838
},
3939
"require-dev": {
4040
"monolog/monolog": "^1.23",
41-
"orchestra/testbench": "^4.0",
42-
"phpunit/phpunit": "^8.0",
41+
"orchestra/testbench": "^3.2|^4.0",
42+
"phpunit/phpunit": "^5.7|^6.0|^7.0|^8.0",
4343
"squizlabs/php_codesniffer": "^3.1"
4444
},
4545
"autoload": {

0 commit comments

Comments
 (0)