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