Skip to content

gofmanaa/yii2-notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notification

Notification module

Installation

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.

Usage

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();

About

Notification module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published