how to use with when send data to blade in laravel code example Example: laravel load view in variable $html = view('users.edit', compact('user'))->render();