Eloquent Query Builder Macros: Define Your Custom Methods
There’s a “trick“ on how you can define methods like “whereLike()“. See the example.
Links mentioned in the video:
- Original tweet:
- Original Gist:
- More videos about macros: @LaravelDaily/search?query=macro
- - - - -
Support the channel by checking out my products:
- My Laravel courses:
- Filament examples:
- Laravel QuickAdminPanel:
- Livewire Kit Components:
- - - - -
Other places to follow:
- My weekly Laravel newsletter:
- My personal Twitter: