laravel display flash message in view code example
Example: how to use flash message in laravel
Session::flash('message', 'This is a message!');
Session::flash('alert-class', 'alert-danger');
Session::flash('message', 'This is a message!');
Session::flash('alert-class', 'alert-danger');