Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Flash Laravel Package

laracasts/flash

Simple flash messaging for Laravel apps by Laracasts. Easily set session-based success, info, warning, and error messages and display them in your views with a clean API and customizable templates. Great for notifications after redirects.

View on GitHub
Deep Wiki
Context7
3.2.5
3.2.4
  • Adds support for Laravel 12
3.2.3
  • Adds Laravel 11 Support
3.2.2
  • Adds support for Laravel 10.
3.2.1
  • Adds Laravel 9 support
3.2
  • Includes Laravel 8 support
3.1
  • Laravel 7 support
3.0.3
  • Includes Laravel 6 support
3.0.2
3.0.1
  • Add support for automatic package discovery.
3.0.0

Additions

  • 1c7658652e10791d934a37bc0f6f0bd5ce5ac73f Added support for flashing multiple messages.
flash('Message 1');
flash('Message 2')->warning();
flash('Message 3')->important();
  • 1f2f130f17667307141897806c8e331742b975ca 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.

2.0.1
2.0.0

Most important is that this package no longer adds the dismissable "x" by default. To mark a flash message as important, call the important method, like this:

flash('This is important')->important();

With this update, the default action is to not display the "X". Instead, you might write a quick bit of JavaScript to automatically fade out the flash message, after a few seconds or so.

1.3.4
1.3.3
1.3.2
1.3.1
1.3

Laravel 5 support.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope