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