PHP code example of ereminmdev / yii2-noty
1. Go to this page and download the library: Download ereminmdev/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/ */
ereminmdev / yii2-noty example snippets
<?= \ereminmdev\yii2\noty\NotyWidget::widget([
'text' => 'Some text...',
]);
<?= \ereminmdev\yii2\noty\NotyWidget::widget([
'text' => 'Some text...',
'type' => 'alert',
'layout' => 'topRight',
'theme' => 'bootstrap-v3',
'clientOptions' => [
...
],
]);