how to declare table access from all blade view in larave l code example Example: laravel load view in variable $html = view('users.edit', compact('user'))->render();