set session name in laravel 5.7 code example
Example 1: set session in laravel
Session::put('variableName', $value);
Example 2: set session data in laravel
Session::put('key', 'value');
session(['key' => 'value']);
Example 3: set session data in laravel
$value = Session::get('key');
$value = session('key');