sylius/rbac
Sylius RBAC is a Sylius plugin that adds role-based access control to the admin panel. Define roles and granular permissions for resources and actions, then restrict users to only the operations they need.
Look elsewhere if:
For executives: sylius/rbac is a small, archived PHP component for hierarchical role-based access control, originally split out of the Sylius e-commerce platform. It is useful as a design reference for how role inheritance can be modeled, but it is not a strategic dependency: it is read-only, unmaintained, and has negligible community adoption. Adopting it would transfer long-term ownership and security-patching responsibility to us. Recommendation: do not add it to the roadmap as a buy decision; keep authorization as a first-class engineering workstream with an actively maintained approach.
For engineering: treat this as a pattern library, not a package. It illustrates hierarchical roles and permission checks in plain PHP, which is helpful for scoping our own model. If we are on Laravel, we should evaluate native Gate/Policy plus a maintained permission package; if we need hierarchy beyond simple roles, we should compare against Symfony Security, Casbin, or an externalized authorization service. Any reuse of this code should be a deliberate fork with an owner, tests, and a documented security-review process — never an unexamined transitive dependency. Decision needed: confirm authorization approach and owner before the next planning cycle.
How can I help you explore Laravel packages today?