This library was developed with the idea that you should be able to add flash notifications to your application easily with few lines of code.
Inject the Flasher service and show a default notification library, or choose a specific one by calling the create(string $library) method.
Build your notification and add options to it using the default notification builder, several notification builders exists to provide the assistance needed when creating your notifications.
you can also add custom data to your notification with stamps:
The library is accompanied by some stamps out of the box :
PHPFlasher make it very easy to render your notifications just by adding a simple line of code.
You can customize how you want to display your notifications: Limit the number of displayed notifications, order them and also filter them how you want with stamps, of course you can add your own logic here.
PHPFlasher is a project by Younes KHOUBZA.