|Project Name||Stars||Downloads||Repos Using This||Packages Using This||Most Recent Commit||Total Releases||Latest Release||Open Issues||License||Language|
|Casbin||14,941||462||4 days ago||210||September 20, 2022||31||apache-2.0||Go|
|An authorization library that supports access control models like ACL, RBAC, ABAC in Golang|
|Laravel Permission||11,257||1,388||382||a day ago||159||June 29, 2022||5||mit||PHP|
|Associate users with roles and permissions|
|Bouncer||3,238||117||30||a month ago||55||February 21, 2022||37||mit||PHP|
|Laravel Eloquent roles and abilities.|
|Jcasbin||2,113||8||7||7 days ago||66||September 17, 2022||3||apache-2.0||Java|
|An authorization library that supports access control models like ACL, RBAC, ABAC in Java|
|Laratrust||2,017||364||51||20 days ago||81||March 04, 2022||5||mit||PHP|
|Handle roles and permissions in your Laravel application|
|Accesscontrol||1,676||87||45||2 years ago||10||February 24, 2018||39||mit||TypeScript|
|Role and Attribute based Access Control for Node.js|
|Sentinel||1,453||786||136||25 days ago||47||April 05, 2022||40||bsd-3-clause||PHP|
|A framework agnostic authentication & authorization system.|
|Roles||1,185||302||14||5 years ago||30||July 30, 2015||82||mit||PHP|
|Powerful package for handling roles and permissions in Laravel 5|
|Kubiscan||1,117||a month ago||4||gpl-3.0||Python|
|A tool to scan Kubernetes cluster for risky permissions|
|Pycasbin||1,107||2||21||12 days ago||86||June 26, 2022||3||apache-2.0||Python|
|An authorization library that supports access control models like ACL, RBAC, ABAC in Python|
|If you want to quickly add authentication and authorization to Laravel projects, feel free to check Auth0's Laravel SDK and free plan at https://auth0.com/developers.|
See the documentation for detailed installation and usage instructions.
This package allows you to manage user permissions and roles in a database.
Once installed you can do stuff like this:
// Adding permissions to a user $user->givePermissionTo('edit articles'); // Adding permissions via a role $user->assignRole('writer'); $role->givePermissionTo('edit articles');
Because all permissions will be registered on Laravel's gate, you can check if a user has a permission with Laravel's default
We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.
You're free to use this package, but if it makes it to your production environment we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using.
Our address is: Spatie, Kruikstraat 22, 2018 Antwerp, Belgium.
We publish all received postcards on our company website.
This package is heavily based on Jeffrey Way's awesome Laracasts lessons on permissions and roles. His original code can be found in this repo on GitHub.
Special thanks to Alex Vanderbist who greatly helped with
v2, and to Chris Brown for his longtime support helping us maintain the package.
And a special thanks to Caneco for the logo
The MIT License (MIT). Please see License File for more information.