flash session message laravel 5.8 code example Example: session flash session()->flash('key', 'value');