Download the PHP package whagency/yii2-html5-notifications without Composer
On this page you can find all versions of the php package whagency/yii2-html5-notifications. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package yii2-html5-notifications
yii2-html5-notifications
Yii2 extension for converting yii2 flash message to html5 web notifications
Installation
The preferred way to install this extension is through composer.
Either run
or add to your composer.json file
Usage Example
- Add widget to your page before
</body>
tag
...
<?= \webheads\notifications\Alert::widget(['options' => [
'logo' => 'https://github.com/whagency/yii2-html5-notifications/blob/master/demo/icon.png',
'hideAfter' => 5000,
]]) ?>
</body>
</html>
- Set yii2 flash message
Yii::$app->session->setFlash('success', 'My notification message');
- Allow html5 messages in your browser

- Result

All versions of yii2-html5-notifications with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4
The package whagency/yii2-html5-notifications contains the following files
Loading the files please wait ....