$html = view('users.edit', compact('user'))->render();
Route::get('/', function () { return view('greeting', ['name' => 'James']); });
composer require spatie/laravel-view-models