Files
php-flasher/docs/pages/index.md
T
Brooke. 5a73173dcf Fix 404s and add links to new Guides to Getting Started
Fixes the 404s for Laravel and Symfony links (due to case sensitivity) and adds the Livewire and Inertia guides to the Getting Started section
2024-11-06 13:23:50 -08:00

5.3 KiB

permalink, description, data-controller
permalink description data-controller
/ 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. flasher

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, SweetAlert 2, Noty, and 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:

Contributions

PHPFlasher grows with help from the community. We welcome your feedback, code contributions, and ideas. Check out our GitHub repository to join the PHPFlasher community. Let's build something great together!