session flash laravel i code example Example 1: print session in laravel dd(session()->all()); Example 2: session in laravel session()->regenerate();