PHPackages                             lesha724/yii2-notification - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. lesha724/yii2-notification

ActiveYii2-extension[Mail &amp; Notifications](/categories/mail)

lesha724/yii2-notification
==========================

Notifiaction in yii2

v0.0.4(8y ago)0291MITPHP

Since Feb 25Pushed 8y ago1 watchersCompare

[ Source](https://github.com/lesha724/yii2-notification)[ Packagist](https://packagist.org/packages/lesha724/yii2-notification)[ RSS](/packages/lesha724-yii2-notification/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (3)Versions (6)Used By (0)

Notifiaction in yii2
====================

[](#notifiaction-in-yii2)

Notifiaction in yii2: [bootstrap alerts](http://getbootstrap.com/components/#alerts), [sweet alerts](http://t4t5.github.io/sweetalert), [noty](http://ned.im/noty/)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist lesha724/yii2-notification "*"

```

or add

```
"lesha724/yii2-notification": "*"

```

to the require section of your `composer.json` file.

Bootstrap Alerts
----------------

[](#bootstrap-alerts)

Once the extension is installed, simply use it in your code by :

1. Set the message in your action, for example:

```
