--- permalink: / description: PHPFlasher is an open-source tool that makes it easy to add flash messages to your Laravel or Symfony projects. Improve user interaction with minimal effort using simple, customizable notifications. data-controller: flasher ---

Author Badge Source Code Badge GitHub Release Badge License Badge Packagist Downloads Badge GitHub Stars Badge Supported PHP Version Badge

## Introduction PHPFlasher is an open-source tool that helps you add flash messages to your web applications. Flash messages are short messages that give feedback to users after they do something, like submitting a form or encountering an error. These messages improve the user experience by letting users know what happened. Flash messages are important for interactive applications. **PHPFlasher** makes it easy to add them to ** Laravel** or ** Symfony** projects. It uses sessions to store messages, so you can set a message on one page and show it on another, without complex setup. --- ### Notification Types **PHPFlasher** supports different types of notifications: >
Success: Shows when something works well.
>
Info: Gives information to the user.
>
Warning: Alerts about potential issues.
>
Error: Tells the user about an error.
--- ## Why **PHPFlasher**? - **Supports Many Libraries**: Works with popular notification libraries like [toastr.js](/library/toastr/), [SweetAlert 2](/library/sweetalert/), [Noty](/library/noty/), and [Notyf](/library/notyf/). - **Easy to Use**: Designed for all developers, from beginners to experts. - **Flexible**: You can customize how the notifications look and behave. - **Framework Compatibility**: Integrates smoothly with Laravel and Symfony. You can also create custom adapters. - **Developer-Friendly**: Features like autocomplete in PHPStorm make coding easier. --- ## Getting Started Start using **PHPFlasher** with our easy guides: - [**Symfony Guide**](/symfony/) - [**Laravel Guide**](/laravel/) - [**Livewire Guide**](/livewire/) - [**Inertia Guide**](/inertia/) - [**Toastr Library**](/library/toastr/) - [**Noty Library**](/library/noty/) - [**Notyf Library**](/library/notyf/) - [**Sweet Alert Library**](/library/sweetalert/) ## Contributions **PHPFlasher** grows with help from the community. We welcome your feedback, code contributions, and ideas. Check out our [GitHub repository](https://github.com/php-flasher/php-flasher) to join the **PHPFlasher** community. Let's build something great together!