xxxxxxxxxx
php artisan make:controller Api/UserController --model=User --resource --requests
xxxxxxxxxx
//i want to create dashboard controller
php artisan make:controller DashboardController
// if i want to create resourse controller then
php artisan make:controller Dashboardcontroller -r
//and also with
php artisan make:controller Dashboardcontroller --resource
xxxxxxxxxx
//open your terminal and type
php artisan make:controller yourprojectfolder/LaravelController --resource
xxxxxxxxxx
php artisan make:controller BookController --resource --model=Book