This package is abandoned and no longer maintained. The author suggests using the php-flasher/flasher-sweetalert package instead.

PHPFlasher adapter for Sweet Alert 2

Fund package maintenance!

Installs: 1 059 125

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 1


PHPFlasher Logo

Flexible flash notifications system for PHP

Flash messages are a great way to add some simple notifications to users of your website or application about important events that may have happened.

PHPFlasher gives a straightforward way to give feedback messages in the current or the next page to users with a flashing system.

The flashing system basically makes it possible to record a message and store it within the session so that it can be retrieved when needed.

Official Documentation

Documentation for PHPFlasher can be found on the PHPFlasher website.

68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d7068702d2d666c61736865722f666c61736865722d626c75652e7376673f7374796c653d666c61742d737175617265 68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f7068702d666c61736865722f666c61736865722e737667 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667 68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068702d666c61736865722f666c61736865722e737667 68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7068702d666c61736865722f666c61736865722e7376673f7374796c653d666c61742d737175617265

Why use PHPFlasher ?

The PHPFlasher project supports many notification libraries : toastr.js, sweetalert 2, pnotify, noty and notyf and its highly extendable so you can add your custom notifications.

This library is designed, so you can take full control when creating you notifications :

  • Show various notifications simultaneously
  • Render notification easily from javascript with small footprint
  • LTR and Dark-mode support
  • Limit the amount of displayed notifications
  • Show Desktop notifications for Linux, macOS and Windows
  • Framework-agnostic with implementations for: Symfony and Laravel
  • Autocomplete for PHPSTORM
  • You can always create an adapter yourself
  • ...and more

Official Documentation

Documentation for PHPFlasher can be found on the PHPFlasher website.


PHPFlasher is being actively developed by yoeunes. You can reach out with questions, bug reports, or feature requests on any of the following:


PHPFlasher is open-sourced software licensed under the MIT license.

Made with ❤️ by Younes KHOUBZA