session laravel blade code example
Example 1: get session blade
{{ session()->get('name') }}
Example 2: check session in blade laravel
@if(session()->has('qwick'))
@else
@endif
Example 3: session variable in laravel
$request->session()->put('key','value');
Example 4: session laravel
session(['name' => 'data']);