Notification module
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist gofmanaa/yii2-notification "*"
or add
"gofmanaa/yii2-notification": "*"
to the require section of your composer.json
file.
Once the extension is installed, simply use it in your code by :
<?= \gofmanaa\notification\models\Notification::push('Event message',Notification::TYPE_DEFAULT); ?>
Put to header menu:
\gofmanaa\notification\widgets\NotificationWidget::widget();