get laravel 8 session code example Example: laravel get all session data $data = $request->session()->all();