laravel this session in blade code example
Example 1: check session in blade laravel
@if(session()->has('qwick'))
@else
@endif
Example 2: set session data in laravel
Session::put('key', 'value');
session(['key' => 'value']);
@if(session()->has('qwick'))
@else
@endif
Session::put('key', 'value');
session(['key' => 'value']);