PHP code example of laravelchen / myflash

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

    

laravelchen / myflash example snippets

config/app.php

public function index()
{
    MyFlash::success('邮件已发!请查收邮件!');

    return Redirect::home();
}

php artisan vendor:publish