Answers for "laravel api controller resource"

7

laravel create resource controller

php artisan make:controller PhotoController --resource --model=Photo
Posted by: Guest on April-23-2020
0

laravel apiresource

GET -	    "/photos/{photo}/comments" - index
GET -	    "/photos/{photo}/comments/create" - create
POST -	    "/photos/{photo}/comments" - store
GET -	    "/comments/{comment}" - show
GET -	    "/comments/{comment}/edit" - edit
PUT/PATCH -	"/comments/{comment}" - update
DELETE -	"/comments/{comment}" - destroy
Posted by: Guest on September-27-2021

Code answers related to "laravel api controller resource"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language