Abstract—We present a practical, reproducible pattern for guard-scoped, least-privilege role-based access control (RBAC) in Laravel 11 using Spatie Permission and Livewire. Permissions are expressed as code constants and seeded deterministically per guard; authorisation is enforced across middleware, policies, and Blade/Livewire. Evaluation combines database-derived coverage (role and assignment counts) and a named Role–Permission matrix with adversarial checks aligned to OWASP ASVS L1. Version 1.1 – Metadata correction Changes:• Standardised author citation name to "Bernard, R."• Updated PDF title page to match citation metadata• Updated LaTeX source package No changes to research content.
Rukman Bernard (Mon,) studied this question.