Published Articles

Enter a search term to find articles.
2020-01-20

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 © 2024 · Privacy · Sitemap