You can call render() on the view.
$html = view('users.edit', compact('user'))->render();
See the View source code for more information.
You can call render() on the view.
$html = view('users.edit', compact('user'))->render();
See the View source code for more information.