session variable in laravel
snippet in php

session variable in laravel

user6372

$request->session()->put('key','value');