1. Go to this page and download the library: Download gnahotelsolutions/flasher library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
gnahotelsolutions / flasher example snippets
Flasher::info("Welcome, {$user->name}");
Flasher::error('Incorrect password');
Flasher::warning('Remember to change your password');
Flasher::success('Password changed!');
Flasher::createNotification('store', 'Someone bought a product!', null);