novius / laravel-backpack-permissionmanager-extended
This package extends Backpack\PermissionManager
Installs: 751
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Language:HTML
Requires
- php: >=7.1
- backpack/permissionmanager: ^2.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ~2.8.0
- orchestra/testbench: ~3.5
- phpunit/phpunit: ~6
This package is auto-updated.
Last update: 2024-11-26 11:34:29 UTC
README
This package extends Backpack/PermissionManager. See all features added bellow.
Installation
In your terminal:
composer require novius/laravel-backpack-permissionmanager-extended
Then, if you are on Laravel 5.4 (no need for Laravel 5.5 and higher), register the service provider to your config/app.php
file :
In config/app.php
, replaces
Backpack\PermissionManager\PermissionManagerServiceProvider::class,
by
Novius\Backpack\PermissionManager\PermissionManagerServiceProvider::class,
Configuration
This package provides a configuration file whose values overwrite the configuration of Backpack\PermissionManager
.
You can publish the configuration file if you want to change these values :
php artisan vendor:publish --provider="Novius\Backpack\PermissionManager\PermissionManagerServiceProvider" --tag=config
You can also publish the views, lang and routes :
php artisan vendor:publish --provider="Novius\Backpack\PermissionManager\PermissionManagerServiceProvider" --tag=views
php artisan vendor:publish --provider="Novius\Backpack\PermissionManager\PermissionManagerServiceProvider" --tag=lang
php artisan vendor:publish --provider="Novius\Backpack\PermissionManager\PermissionManagerServiceProvider" --tag=routes
Features
- Improved interface to manage the roles and permissions on the user CRUD
- Improved interface to manage the permissions on the role CRUD
Lint
Run php-cs with:
./cs.sh
Contributing
Contributions are welcome! Leave an issue on Github, or create a Pull Request.
Licence
This package is under GNU Affero General Public License v3 or (at your option) any later version.