PHP code example of caffeinated / flash

1. Go to this page and download the library: Download caffeinated/flash 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/ */

    

caffeinated / flash example snippets


Caffeinated\Flash\FlashServiceProvider::class,

'Flash' => Caffeinated\Flash\Facades\Flash::class,

Flash::success('This is a success message.');

Flash::info('This is an info message.');

Flash::warning('This is a warning message.');

Flash::error('This is an error message.');

@