# spatie/laravel-permission

> Database-backed roles and permissions for Laravel applications

Navigation: [Developer Tools](category/developer-tools.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/spatie/laravel-permission
- HTML: https://awesomeopensource.dev/project/spatie-laravel-permission
- Website: https://spatie.be/docs/laravel-permission
- License: MIT
- Language: PHP
- stars: 12985
- Topics: laravel, permission, php, secure
- Activity score: 5.0/5 (Thriving)
- Last commit (any branch): 2026-11-13
- Last release: 8.5.0 2026-11-06

## Description

Package that stores roles and permissions in the database and attaches them to Eloquent users. Every permission is registered with Laravel's gate, so the default can method keeps working, and roles bundle permissions for bulk assignment. Configuration covers multiple guards, and the package is installed with Composer for development and production use.

## Maintenance activity

- Recency: 100% (weight 40%) — last commit: 0 days ago
- Commit volume: 100% (weight 25%)
- Releases: 99% (weight 25%) — last release: 7 days ago
- Bug fixes: 100% (weight 10%)
- Commits: 37 / 90d, 132 / 365d

## Similar projects

- [stablyai/orca](stablyai-orca.md): Run several coding agents in parallel, each in its own Git worktree · Activity score 5.0/5 (Thriving)
- [tauri-apps/tauri](tauri-apps-tauri.md): Build small desktop and mobile apps with a web frontend and a Rust core · Activity score 5.0/5 (Thriving)
- [microsoft/terminal](microsoft-terminal.md): Tabs, panes and GPU rendering for PowerShell, cmd, WSL and SSH on Windows · Activity score 5.0/5 (Thriving)
- [ant-design/ant-design](ant-design-ant-design.md): A UI Design Language. · Activity score 5.0/5 (Thriving)
- [microsoft/playwright](microsoft-playwright.md): End-to-end testing and browser automation across Chromium, Firefox and WebKit · Activity score 5.0/5 (Thriving)
- [nvm-sh/nvm](nvm-sh-nvm.md): POSIX shell script for installing and switching between Node.js versions · Activity score 5.0/5 (Thriving)
