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