laravel session get item 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();