PHP code example of efureev / yii2-noty

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

    

efureev / yii2-noty example snippets


\efureev\noty\NotyWidget::widget();

app()->session->setFlash('warning', 'Warning.');
app()->session->setFlash('error', 'Error.');
app()->session->setFlash('info', 'Joke.');