PHP code example of bbs-lab / nova-toast

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

    

bbs-lab / nova-toast example snippets


use BBSLab\NovaToast\Toast;

Toast::success('Saved.');
Toast::warning('Careful with that.');
Toast::error('Something went wrong.');
Toast::info('Just so you know.');

Toast::success('Two-factor authentication enabled.');

return back();