Tag: laravel8

Controller General Topic Laravel

Laravel Controllers

Every controller class extends Laravel’s Base Controller class. Basic Controller We can code all functional elements, as well as communicate with the model in the controller and provide data to the view. Route::get(“/”,[TestController::class,’index’]); TestController class TestController extends Controller{ function index(){ Return view(‘welcome’); }} Single Action Controller If we need to assign a specific controller to […]

Back To Top