laravel make controller action code example
Example 1: laravel make:action
composer require lorisleiva/laravel-actions
Example 2: controller in laravel 8
Rout::get('/test' , [TestController::class , 'index']);
composer require lorisleiva/laravel-actions
Rout::get('/test' , [TestController::class , 'index']);