PHP code example of anselmi-dev / flashed

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

    

anselmi-dev / flashed example snippets


Gocanto\Flashed\FlashedServiceProvider::class,

use Gocanto\Flashed\Flash;

Flash::make()->message([
  'title' => 'Hi There!',
  'body' => 'this is the body'
]);

Flash::make('info')->message([
  'title' => 'This is a info message!',
  'body' => 'this is the body'
]);

@
bash
php artisan vendor:publish --tag=flashed-it