spatie/laravel-permission
Manage roles and permissions in Laravel using database-backed models integrated with Laravel’s Gate. Assign roles to users, grant permissions directly or via roles, and authorize actions with the familiar can() checks. Includes docs for setup and usage.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| directorytree/authorization | 0.92 | Native, easy role & permission management for Laravel. Adds migrations and an Authorizable trait to your User model for role/permission checks, optional custom migrations/models, caching, gate registration, middleware, and testing support. | 179 | 180 | 9 | 319 | 2 | 23.5 | 7.6 | MIT | 1 week ago | |
| spatie/laravel-authorize | 0.89 | Route middleware for Laravel authorization. Protect routes and groups using Laravel’s Gate abilities via the can: middleware syntax, with support for route model binding (e.g., can:editPost,post) to authorize access to specific models. | 201 | 206 | 19 | 142 | 0 | 23.4 | 3.8 | MIT | 9 years ago |
How can I help you explore Laravel packages today?