return view with array laravel code example Example: laravel return view in web.php Route::get("/page", function(){ return View::make("dir.page"); });