PHP code example of mnshankar / flashmessenger

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

    

mnshankar / flashmessenger example snippets


'providers' => array(
    'mnshankar\Flash\FlashServiceProvider'
);

'aliases' => array(
    'Flash' => 'mnshankar\Flash\Flash'
);

public function store()
{
    Flash::message('Welcome Aboard!');

    return Redirect::home();
}
bash
php artisan view:publish mnshankar/flashmessenger