print all session in laravel code example
Example 1: print session in laravel
dd(session()->all());
Example 2: laravel get all session data
$data = $request->session()->all();
dd(session()->all());
$data = $request->session()->all();