PHP code example of taylornetwork / toastr

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

    

taylornetwork / toastr example snippets

 php
'providers' => [

    TaylorNetwork\Toastr\ToastrServiceProvider::class,

],
 php
'aliases' => [

    'Toastr' => TaylorNetwork\Toastr\Facades\Toastr::class,

],
 bash
$ php artisan vendor:publish
 php
Toastr::success('Congratulations!');
 php
Toastr::info('This is information!', 'New Info!!!');