Рет қаралды 4,800
I was wondering what should API Controller methods return. Let me show you what I found in this experiment.
Links mentioned in the video:
My tweet with the same question: x.com/PovilasK...
My video "Parameter Types in Laravel 10: Why It's So Important" • Parameter Types in Lar...
Eloquent API Resources docs: laravel.com/do...
Support the channel by checking out my products:
My Laravel courses: laraveldaily.c...
Filament examples: filamentexampl...
Livewire Kit Components: livewirekit.com
Other places to follow:
My weekly Laravel newsletter: us11.campaign-...
My personal Twitter: / povilaskorop