RBAC module for the Lumen framework.
Please note that this module is still under active development.
- PHP 5.6 or newer
Run the following command to install the package through Composer:
composer require nordsoftware/lumen-rbac
Copy the configuration template in
config/rbac.php to your application's
config directory and modifying according to your needs. For more information see the Configuration Files section in the Lumen documentation.
The available configurations are:
TODO: Write this
php artisan and you should see the new commands in the doctrine:* namespace section.
NOTE: The configuration of the module has been moved to the service provider.
Please note that we only support Doctrine for now, but we plan to add support for storing permissions also in memory and using Eloquent.
You can now use the
Rbac facade or inject the
RbacService where needed.
Please read the guidelines.
MIT. See LICENSE.