--- permalink: / description: PHPFlasher is a robust, open-source tool for seamlessly adding flash messages to Laravel or Symfony projects, aimed at improving user interaction and feedback with minimal developer effort. 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 a powerful, community-driven, open-source project designed to enhance your web applications by providing an intuitive way to display flash messages. These messages serve as immediate feedback for user actions, significantly improving user experience by confirming actions like form submissions, warnings, or errors. Flash messages are crucial for interactive applications, and PHPFlasher makes implementing them in Laravel or Symfony projects straightforward. With support for session-based message storage, PHPFlasher ensures that messages can be easily set and then retrieved for display on subsequent pages, without complex setup. --- ### Notification Types PHPFlasher can handle a variety of notification types to suit different feedback scenarios: >
success : indicates successful completion of an action.
>
info : provides informational messages to users.
>
warning : alerts users to potential issues that are not errors.
>
error : notifies users of errors or problems encountered.
--- ## Why PHPFlasher ? - **Broad Library Support**: PHPFlasher integrates with several popular notification libraries, including [toastr.js](/library/toastr/), [SweetAlert 2](/library/sweetalert/), [Noty](/library/noty/), and [Notyf](/library/notyf/). - **Ease of Use**: Designed with all levels of developers in mind, from beginners to experienced professionals. - **Flexibility**: Offers extensive customization options for notification styling and behaviors. - **Framework Compatibility**: Seamlessly integrates with Laravel and Symfony, with options for custom adapter creation. - **Developer Friendly**: Features PHPStorm autocomplete for easier coding and integration. --- ## Getting Started Dive into PHPFlasher with our straightforward guides and documentation to seamlessly integrate flash messaging into your projects: - [**Symfony Guide**](/Symfony/) - [**Laravel Guide**](/Laravel/) - [**Toastr Library**](/library/toastr/) - [**Noty Library**](/library/noty/) - [**Notyf Library**](/library/notyf/) - [**Sweet Alert Library**](/library/sweetalert/) ## Contributions PHPFlasher thrives on community contributions. Your feedback, code contributions, and feature suggestions are invaluable to us. Explore our [GitHub repository](https://github.com/php-flasher/php-flasher) to see how you can become part of the PHPFlasher community. Let's build something great together !