how to set session in laravel blade code example
Example 1: set session in laravel
Session::put('variableName', $value);
Example 2: set session in laravel
session(['variableName' => $value]);
Session::put('variableName', $value);
session(['variableName' => $value]);