laravel construct share view code example
Example 1: laravel load view in variable
$html = view('users.edit', compact('user'))->render();
Example 2: Pass all data to all pages laravel
this work :)
use Illuminate\Support\Facades\View;
$html = view('users.edit', compact('user'))->render();
this work :)
use Illuminate\Support\Facades\View;