Laravel Permission
Laravel package that manages users' roles and permissions in a database and registers them with Laravel's gate.
spatie.be/docs/laravel-permissionrepositorydocs
Laravel Permission manages roles and permissions for a Laravel application’s users in the database, and registers the permissions with Laravel’s gate. The documentation describes a role as a named group of permissions that can be assigned to users or other models, and says every guard has its own set of permissions and roles. The README names Bouncer among its alternatives.
Worth knowing
The prerequisites page says the User model must not have a role or roles property or method, and must implement Laravel’s Authorizable contract.
Identity
Rendering and deploy
- Install with
- composer require spatie/laravel-permission5
Releases
Adoption
Sources
- 2026-11-16: name, links, Categories, Built on
spatie.be/docs/laravel-permission/v8/introduction - 2026-11-16: links, Written in, License, GitHub stars
api.github.com/repos/spatie/laravel-permission - 2026-11-16: Maintainer, Maintained by, Headquarters
spatie.be/privacy - 2026-11-16: Runtime, Minimum runtime, License
raw.githubusercontent.com/spatie/laravel-permission/8.5.0/composer.json - 2026-11-16: Install with
spatie.be/docs/laravel-permission/v8/installation-laravel - 2026-11-16: License model
raw.githubusercontent.com/spatie/laravel-permission/main/LICENSE.md - 2026-11-16: Current major version, Last release
api.github.com/repos/spatie/laravel-permission/releases/latest - 2026-11-16: First release
repo.packagist.org/p2/spatie/laravel-permission.json - 2026-11-16: Contributors
api.github.com/repos/spatie/laravel-permission/contributors?per_page=1 - 2026-11-16: Packagist downloads
packagist.org/packages/spatie/laravel-permission.json - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/packagist.org/packages/spatie%2Flaravel-permission