Session::put or set in laravel 6 code example
Example 1: set session in laravel
Session::get('variableName');
Example 2: set session in laravel
session(['variableName' => $value]);
Session::get('variableName');
session(['variableName' => $value]);