how to add value into session in laravel code example Example: session variable in laravel $request->session()->put('key','value');