how to set session in config/session.php in laravel code example
Example 1: session variable in laravel
$request->session()->put('key','value');
Example 2: import session laravel
use Illuminate\Support\Facades\Session;
$request->session()->put('key','value');
use Illuminate\Support\Facades\Session;