how to display view in controller directly in laravel using a tag code example
Example: laravel load view in variable
$html = view('users.edit', compact('user'))->render();
$html = view('users.edit', compact('user'))->render();