Answers for "laravel return view with variable"

PHP
4

pass parameter to view laravel

Route::get('/', function () {
    return view('greeting', ['name' => 'James']);
});
Posted by: Guest on May-06-2020

Code answers related to "laravel return view with variable"

Browse Popular Code Answers by Language