add controller with model in laravel code example
Example 1: laravel create controller
php artisan make:controller MyController
Example 2: how to create resource controller in laravel
Resource Controller:This controller will create all CRUD methods
php artisan make:controller nameOfController --resource