3.0.0
Additions
- 1c76586 Added support for flashing multiple messages.
flash('Message 1');
flash('Message 2')->warning();
flash('Message 3')->important();
- 1f2f130 Added optional support for flags.
// Before
flash()->success('My message');
// After
flash('My message')->success();
// Before
flash()->overlay('My message');
// After
flash('My message')->overlay();
Breaking Changes From v2
Please note that there are no breaking changes with v3, unless you published our old view templates to your project.
- We now flash a single
flash_notification
array to the session, and nothing else. As such, if maintaining your own views, you'll need to update them accordingly. See here: https://github.com/laracasts/flash/blob/master/src/views/message.blade.php