session() get in laravel blade code example
Example 1: get session blade
{{ session()->get('name') }}
Example 2: laravel get all session data
$data = $request->session()->all();
{{ session()->get('name') }}
$data = $request->session()->all();