diff --git a/README.md b/README.md index 444a2afa..d8c47dc1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # ENTRUST (Laravel 6 Package) -Entrust is a succinct and flexible way to add Role-based Permissions to **Laravel 6**. +Entrust is a succinct and flexible way to add Role-based Permissions to **Laravel 7**. ## Contents @@ -27,7 +27,7 @@ Entrust is a succinct and flexible way to add Role-based Permissions to **Larave ## Installation -1) In order to install Laravel 6 Entrust, just add the following to your composer.json. Then run `composer update`: +1) In order to install Laravel 7 Entrust, just add the following to your composer.json. Then run `composer update`: ```json "code-orange/entrust": "^2.0" diff --git a/composer.json b/composer.json index 3fa885a3..2cae2460 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "code-orange/entrust", - "description": "This package provides a flexible way to add Role-based Permissions to Laravel 6", + "description": "This package provides a flexible way to add Role-based Permissions to Laravel 7", "keywords": ["laravel","illuminate","auth","roles","acl","permission"], "license": "MIT", "authors": [ @@ -23,15 +23,14 @@ ], "require": { "php": ">=7.2", - "illuminate/console": "~6.0", - "illuminate/support": "~6.0", - "illuminate/cache": "~6.0" + "illuminate/console": "^7.0", + "illuminate/support": "^7.0", + "illuminate/cache": "^7.0" }, "require-dev": { - "phpunit/phpunit": "^8.0", + "phpunit/phpunit": "^8.5", "mockery/mockery": "^1.0", - "illuminate/database": "~6.0", - "sami/sami": "dev-master" + "illuminate/database": "^7.0" }, "autoload": { "classmap": [ diff --git a/docs.php b/docs.php deleted file mode 100644 index 6e398dae..00000000 --- a/docs.php +++ /dev/null @@ -1,24 +0,0 @@ -files() - ->name('*.php') - ->in($dir = __DIR__ . '/src'); - -$versions = GitVersionCollection::create($dir) - ->add('master', 'master branch') - ->addFromTags('2.*'); - -$options = array( - 'versions' => $versions, - 'title' => 'Entrust API', - 'build_dir' => __DIR__ . '/build/docs/%version%', - 'cache_dir' => __DIR__ . '/build/cache/docs/%version%', - 'default_opened_level' => 2, -); - -return new Sami($iterator, $options);