Files
php-flasher/docs/pages/index.md
T
2024-04-09 07:57:01 +00:00

6.5 KiB

permalink, description, data-controller
permalink description data-controller
/ PHPFlasher - A powerful & easy-to-use package for adding flash messages to Laravel or Symfony projects. Provides feedback to users, improves engagement & enhances user experience. Intuitive design for beginners & experienced developers. A reliable, flexible solution. flasher

Introduction

{% 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, noty and notyf.

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!

  • Display multiple notifications at the same time
  • Easily display notifications from JavaScript with a small footprint
  • LTR and Dark-mode support
  • Framework-agnostic with Laravel and Symfony implementations
  • PHPSTORM Autocomplete
  • You can always create an adapter yourself if desired
  • ...and more

Getting Started

Sponsors

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:

Contributors

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: