PHP code example of laijim / simple-toast

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

    

laijim / simple-toast example snippets


composer 

Laijim\SimpleToast\SimpleToastServiceProvider::class,

'SimpleToast' => Laijim\SimpleToast\Facades\SimpleToast::class,

php artisan simple-toast:publish

\SimpleToast::toast("Hi there!");
return view('test');