xtreed / shinobi
Laravel Roles and Permissions
Requires
- php: ^7.2
- illuminate/support: ^6.0|^7.0
Requires (Dev)
- doctrine/dbal: ^2.10@dev
- orchestra/testbench: ^3.7
- dev-master
- v5.1.0
- v5.0.0
- v4.3.0
- v4.2.0
- v4.1.0
- v4.0.5
- v4.0.4
- v4.0.3
- v4.0.1
- v4.0.0
- v4.0.0-beta.3
- v4.0.0-beta.2
- v4.0.0-beta.1
- 3.4.x-dev
- v3.4.0
- v3.3
- v3.2.1
- v3.2
- v3.1.1
- v3.1
- v3.0.10
- v3.0.9
- v3.0.8
- v3.0.7
- v3.0.6
- v3.0.5
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0
- v2.4.1
- v2.4
- v2.3.2
- v2.3.1
- v2.3
- v2.2.1
- v2.2
- v2.1
- v2.0.1
- v2.0
- v1.0.2
- v1.0.1
- dev-branch-4.0
This package is auto-updated.
Last update: 2024-11-06 01:53:12 UTC
README
I am unfortunately making the hard decision to archive this package. It's served many of us well over the years, but more and more I've been finding my time stretched thin. As such, I am not able to put in as much focus here in development, documentation, and everything else that goes along with maintaining an open-source package. I can't in good consience leave this as is when so many of you are still using and maybe running in to some issues with things.
As an alternative, I highly recommend Spatie's laravel-permission package as a replacement. It's nearly a drop-in replacement as both Shinobi and laravel-permission hook in to Laravel's core policies system. The Spatie package is well maintained, has great documentation, and a plethora of configuration options.
If for any reason you'd like to continue or pick up where Shinobi has left off, please feel free to fork and do your thing ✌️ that's one of the beauty's of open-source.
Thank you for understanding, Kai
Caffeinated Shinobi
A simple and light-weight role-based permissions system for Laravel's Authorization Gate system. Originally developed for FusionCMS, an open source content management system.
- Every user can have zero or more permissions.
- Every user can have zero or more roles.
- Every role can have zero or more permissions.
- Every role can have one of two special flags,
all-access
andno-access
Documentation
You will find user friendly and updated documentation on the Caffeinated website.
Installation
Simply install the package through Composer. From here the package will automatically register its service provider and Shinobi
facade.
composer require caffeinated/shinobi
Config
To publish the config file, run the following:
php artisan vendor:publish --provider="Caffeinated\Shinobi\ShinobiServiceProvider" --tag="config"
Changelog
You will find a complete changelog history within the CHANGELOG file.
Contributing
Please see CONTRIBUTING for details.
Testing
Run tests with PHPUnit:
vendor/bin/phpunit
Security
If you discover any security related issues, please email shea.lewis89@gmail.com directly instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.