I want to quickly show an example of a small refactoring inside our LaravelDaily.com permissions when while adding a new feature of Team Plans, "along the way" we decided to refactor the code to Policies, for future re-use.
- - - -
Support the channel by checking out my products:
My Laravel courses: https://laraveldaily.com/courses
Laravel QuickAdminPanel: https://quickadminpanel.com
Livewire Kit Components: https://livewirekit.com
- - - -
Other places to follow:
My weekly Laravel newsletter: https://us11.campaign-archive.com/hom...
My personal Twitter: / povilaskorop