Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to create controller with sub folder in laravel

//if you don't have sub folder 
php artisan make:controller AppHttpControllersApi/TestApiController --api

//if you have sub folder already exist
php artisan make:controller ApiTestApiContorller --api

Source by laracasts.com #
 
PREVIOUS NEXT
Tagged: #create #controller #folder #laravel
ADD COMMENT
Topic
Name
9+2 =