dnetix / rbac
Role Based Access Control Module
Installs: 105
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/dnetix/rbac
Requires
- php: >=5.6
- dnetix/utils: dev-master
Requires (Dev)
- fzaninotto/faker: ^1.5
- illuminate/contracts: ^5.2
- illuminate/database: ^5.2
- mockery/mockery: ^0.9.4
- phpunit/phpunit: ^5.3
This package is not auto-updated.
Last update: 2025-09-25 06:16:27 UTC
README
Installation
With composer
composer require dnetix/rbac
Add the service provided to the app.php config file
\Dnetix\Rbac\RbacServiceProvider::class,
Publish the configurations and migrations for this package
php artisan vendor:publish
Modify the rbac.php config file with your own permissions
Make sure that the Models or Classes that will be using permissions and roles implements from the interface
Illuminate\Contracts\Auth\Authenticatable;
TODO
- Revoke permissions to specific authenticatables (Users)
- Cache the results provided for the repository, they change rarely