session flash in laravel 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');