printing all running session variable in laravel 5.1
If you just want to see contents of session, try dd()
:
dd(session()->all());
If not, just use this to get all info:
$data = session()->all();
You can also use dd(Session::all());
If you just want to see contents of session, try dd()
:
dd(session()->all());
If not, just use this to get all info:
$data = session()->all();
You can also use dd(Session::all());