Articles

Enter a search term to find articles.
January 20, 2020

Implementing Policy Registration (Before Laravel 8)

One good reason why you should not add custom public methods in your controllers aside from what --resource provides: Authorizations (aka Policies) registration. Here, I show one neat trick I used to do (before Laravel 8 policy auto-discovery) to register my policies. ![Policy](https://marvinquezon.com/storage/uploads/implementing-policy.jpeg)

Marvin Quezon · Copyright © 2025 · Privacy · Sitemap