romanbican/roles
Powerful package for handling roles and permissions in Laravel 5 observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4248
- days_rel: n/a
- days_push: 1742
- n_releases_24m: 0
Adoption not part of the score
1146 stars · 286 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Laravel 5 package for managing user roles and permissions, including role levels, permission inheritance, Blade template extensions, and route middleware. It integrates via a HasRoleAndPermission trait on the User model with database-backed roles and permissions.
Use cases
- add role-based access control to a Laravel app
- check if a user has a role or permission in Blade templates
- restrict routes with role and permission middleware
- manage admin vs regular user permissions
- implement permission inheritance for hierarchical roles
- assign and detach roles from users in Eloquent
When to choose
- you are maintaining a legacy Laravel 5.0 or 5.1 application
- you need a simple, proven RBAC package with Blade helpers and middleware
- you want role levels and permission inheritance out of the box
When to avoid
- you are on Laravel 6 or newer - use actively maintained alternatives like spatie/laravel-permission
- you need multi-guard, teams, or advanced policy features
- you are starting a new project and want long-term support
Facets
library · maturity maintenance
auth authorization middleware web-development backend security developer-tools php self-hosted laravel roles-and-permissions rbac blade-directives eloquent web-server
1 source
- readme: https://github.com/romanbican/roles · fetched 2026-08-28 · 88b8d0996870
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| romanbican/roles | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="romanbican/roles")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem