gofmanaa/yii2-notification

Notification module

Installs: 35

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2015-12-10 14:54 UTC

This package is not auto-updated.

Last update: 2024-11-13 17:59:41 UTC


README

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