check laravel session enable code example
Example 1: enablequerylog laravel
\DB::enableQueryLog();
dd(\DB::getQueryLog());
Example 2: check session in blade laravel
@if(session()->has('qwick'))
@else
@endif
\DB::enableQueryLog();
dd(\DB::getQueryLog());
@if(session()->has('qwick'))
@else
@endif