filmov
tv
Laravel 11 - Eloquent API Resource - How to Create User Eloquent API Resource - Part 6
Показать описание
In this video, you will learn how to create user resource, creating function for calling resource and call it throght postman get single data. To generate a resource class, you may use the make:resource Artisan command. By default, resources will be placed in the app/Http/Resources directory of your application. Resources extend the Illuminate\Http\Resources\Json\JsonResource class.