get session data array template laravel code example Example: update session laravel $request->session()->push('user.uploadProfilePic', true);