laravel create a controller aceesle by all consrellers code example Example: controller in laravel 8 Rout::get('/test' , [TestController::class , 'index']);