iya30n/dynamic-acl
A Laravel package for dynamic, database-backed role and permission management. Define roles and permissions at runtime, assign them to users, and protect routes or views with middleware and Blade directives without hardcoding gates.
Consider it when:
Look elsewhere when:
spatie/laravel-permission) or native Laravel Gates/Policies.For executives (one paragraph): This is a small open-source Laravel component that lets administrators manage user roles and permissions at runtime instead of shipping code changes for every access update. The business case is speed: it can shorten delivery of admin panels, customer-managed team roles, and tiered feature access. The caveat is dependency risk — the project shows low adoption and no release since mid-2023, so I recommend a time-boxed evaluation rather than a production commitment on revenue-critical or security-sensitive paths. Worst case, it serves as a reference design we reimplement in a few days.
For engineering (one paragraph): iya30n/dynamic-acl is a database-backed ACL layer for Laravel — evaluate it as a replacement for hand-rolled roles/permissions where permissions must be editable without deploys. Before adoption, run a short spike to confirm: current Laravel version compatibility, migration and schema quality, test coverage, authorization edge cases (role hierarchy, caching, cache invalidation on permission change), and license terms. The repository is unverified and the last release predates current Laravel majors, so assume you may need to fork and maintain it. Recommend benchmarking against spatie/laravel-permission and native Gates/Policies; the decision hinges on whether dynamic ACLs are a real requirement or an assumed one. If we proceed, isolate it behind a thin internal authorization interface so we can swap the implementation without touching feature code.
How can I help you explore Laravel packages today?