If you find PHPFlasher useful, we would greatly appreciate your support in the form of a star rating ⭐ on GitHub or by sharing the project on Twitter click here. Your feedback helps us keep the package up-to-date and well-maintained. Thank you


PHPFlasher is a powerful and easy-to-use package that allows you to quickly and easily add flash messages to your Laravel or Symfony projects. Whether you need to alert users of a successful form submission, an error, or any other important information, flash messages are a simple and effective solution for providing feedback to your users.

With PHPFlasher, you can easily record and store messages within the session, making it simple to retrieve and display them on the current or next page. This improves user engagement and enhances the overall user experience on your website or application.

Whether you’re a beginner or an experienced developer, PHPFlasher’s intuitive and straightforward design makes it easy to integrate into your projects. So, if you’re looking for a reliable, flexible and easy to use flash messages solution, PHPFlasher is the perfect choice.

Flash notification types

Flash notifications serves as a feedback & confirmation mechanism after the user takes an action.

success : Whatever was attempted did, in fact, succeed.
info : Some event occurred that the user should be aware of.
warning : Something not good happened, but it isn't an error.
error : Some sort of program error occurred.

Why use PHPFlasher ?

PHPFlasher supports popular notification libraries : toastr.js, sweetalert 2, pnotify, noty, notyf and even show desktop notifications.

You have a wide range of options to choose from to suit your specific needs. Whether you want to display simple toast messages or more sophisticated alerts, PHPFlasher has you covered.

Overall, PHPFlasher is a versatile and easy-to-use library that can greatly enhance the user experience of your website or application. Give it a try and see the difference it can make for yourself!

Getting Started


We are grateful for the support provided by our sponsors, who have made it possible for us to develop and improve the package. Special thanks to:


We are grateful for the contributions of our contributors, who have been instrumental in helping us to develop and improve the package. Thank you to:


PHPFlasher is a project by Younes KHOUBZA.