ticketpark/dynamic-role-bundle
A Symfony bundle that adds support for dynamic roles, letting applications define and manage security roles at runtime instead of hardcoding them in configuration. Useful when roles need to be created, stored, or changed without redeploying.
Architecture fit
Gate, Policy, and Illuminate\Auth. There is no seam where this bundle plugs in.Integration feasibility
Gate::before or a User::can() override.Technical risk
fetchAssoc) were removed in DBAL 3. Modern PHP 8 typed properties and enums will collide.Key questions
isGranted() call?Stack fit
Migration path Treat the repository as a reference implementation, not a dependency:
RoleResolver service, service provider binding.Gate::before for super-admin, policy checks for granular abilities).Cache-backed role sets with tag-based invalidation.composer.json.Compatibility
Sequencing
Alternative worth evaluating first: spatie/laravel-permission covers the same domain, is Laravel-native, actively maintained, and has broad production adoption. Unless this package's schema encodes something specific you need, the correct TPM recommendation is to adopt the mature package and skip the port entirely.
Maintenance
Support
Scaling
Failure modes
Ramp-up
Bottom line for the TPM: this is not a leverageable dependency. It is, at best, a design reference for a capability you must build or buy. Given 0 stars, 0 dependents, 8 years of abandonment, and an auth-adjacent blast radius, the defensible recommendation is buy/adopt a maintained Laravel-native alternative unless a specific requirement forces a bespoke implementation.
How can I help you explore Laravel packages today?