I\'ve written a simple display_messages() function that will search Session::get(\'errors\') for flash data and echo it to the screen.
display_messages()
Session::get(\'errors\')
Where do
open root_folder/vendor/laravel/framework/src/Illuminate/Support/helpers.php
root_folder/vendor/laravel/framework/src/Illuminate/Support/helpers.php
and you can add your function
if ( ! function_exists('display_messages')) { function display_messages() { return ... } }