Passer le paramètre pour afficher Laravel
Route::get('/', function () {
return view('greeting', ['name' => 'James']);
});
Elated Earthworm
Route::get('/', function () {
return view('greeting', ['name' => 'James']);
});
$html = view('users.edit', compact('user'))->render();
return View::make('blog')->with('posts', $posts);
{{ dd(get_defined_vars()['__data']) }}