Refactor Laravel Permissions into Policies: Our Small Example
I want to quickly show an example of a small refactoring inside our 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:
- Laravel QuickAdminPanel:
- Livewire Kit Components:
- - - - -
Other places to follow:
- My weekly Laravel newsletter:
- My personal Twitter:
2 views
23
9
2 months ago 00:45:13 1
How to make Legacy Refactoring Fun Again / Tomáš Votruba (Czech & Slovak PHP Community Pehapkari)
3 months ago 00:05:06 4
Refactor To Make Code Shorter? Think Twice.
3 months ago 00:30:22 1
Refactoring Shift to use Laravel’s Process facade
3 months ago 00:01:39 9
Getting started with PHP in PhpStorm
3 months ago 00:45:17 3
Adam Wathan on “Designing a Component Library“ | Laracon US 2024 in Dallas, TX
3 months ago 00:03:13 1
Laravel Blade Layout Components in Subfolders: Breeze Example
3 months ago 02:01:58 1
Рефакторинг и эволюционный дизайн по Фаулеру
4 months ago 00:07:37 4
Vue Unit Тестирование #10 - Тест компонента выпадающего списка (рефакторинг)
4 months ago 00:04:00 2
Laravel tip: Higher order collection proxies (and Zevia)
4 months ago 00:35:26 1
LaraconIn 2024 - Jason McCreary :: Code Refactoring Workshop
5 months ago 00:08:02 2
Code tip: Don’t undo what you haven’t done
5 months ago 00:05:54 1
Code tip: clean up after yourself (and a seltzer review)
6 months ago 00:02:33 5
New in Laravel 11 - The Once Method
6 months ago 00:08:49 1
JetBrains IDE | Продуктивность #10 - Рефакторинг
6 months ago 00:15:45 7
You don’t need a frontend framework
7 months ago 00:11:31 3
Getting Rid of JavaScript Completely is (sometimes) a BAD idea