# Laravel Permission

> Roles and permissions for Laravel users, stored in the database

Source: https://talira.ai/catalog/laravel-permission-qw6cpwr6
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [security / auth / authorization](https://talira.ai/categories/security/auth/authorization), [languages / php](https://talira.ai/categories/languages/php)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Spatie](https://talira.ai/orgs/spatie.md)

Laravel Permission is Spatie's package for associating users with roles and permissions stored in the database. Permissions can be given to a user directly or through roles, and every permission is registered on [Laravel](https://talira.ai/catalog/laravel-4d4w140j.md)'s gate, so the framework's own `can` checks, policies and Blade `@can` directives work with them. It has separate sets of roles and permissions for each auth guard, team-scoped permissions, wildcard permissions, enums, middleware and Artisan commands, and caches permissions between requests.

## Links

- Website: https://spatie.be/docs/laravel-permission
- GitHub: https://github.com/spatie/laravel-permission
- Docs: https://spatie.be/docs/laravel-permission

## Problems it solves

- give users roles like admin and editor in my Laravel app
- check whether a user can edit articles in Laravel without writing my own tables
- store which users can do what in the database for a Laravel API

## Features

- permissions given directly or through roles
- works with Laravel's gate, policies and Blade @can
- separate roles and permissions for each guard
- team-scoped and wildcard permissions
- middleware, Artisan commands and a permission cache

## Trust

Overall: 0.66 out of 1.
Signals: maintenance 0.83, adoption 0.82, momentum 0.60, community 0.98, backing 0.30, extensibility 0.00.

- last commit 3 days ago
- 35 commits in the last 90 days
- latest release 8.5.1 3 days ago
- 13.0k GitHub stars
- 278 contributors
- accepts sponsorship (Github)
- backed by Spatie

## Related

- Works with [Laravel](https://talira.ai/catalog/laravel-4d4w140j.md)

## Sources

[^1]: https://github.com/spatie/laravel-permission/blob/main/README.md (checked 28 Nov 2026)
[^2]: https://github.com/spatie/laravel-permission/blob/main/LICENSE.md (checked 28 Nov 2026)
