directorytree/authorization
An easy, native role and permission management system for Laravel. Assign roles and permissions to your models, check abilities, cache lookups, and protect routes with built-in middleware.
Gate, can(), authorize(), @can, middleware, and service-provider configuration. This lowers conceptual overhead and lets the team keep authorization checks in familiar Laravel patterns.composer require, run migrations, add the Authorizable trait to the user model, optionally customize role/permission models, and register middleware aliases. The package supports publishing or ignoring migrations and overriding internal models, which gives a reasonable path for enterprise customization.PermissionRegistrar setup in test bootstrap.How can I help you explore Laravel packages today?