Back

Larave Route:resource

Copy Below Code View As A Text File Show Text Only Show API Edit Code
                            

php artisan make:controller PhotoController --resource --model=Photo GET /photos index photos.index GET /photos/create create photos.create POST /photos store photos.store GET /photos/{photo} show photos.show GET /photos/{photo}/edit edit photos.edit PUT/PATCH /photos/{photo} update photos.update DELETE /photos/{photo} destroy photos.destroy