laravel get session example Example 1: print session in laravel dd(session()->all()); Example 2: get session id in laravel Session::getId();