PHPackages                             whagency/yii2-html5-notifications - 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. whagency/yii2-html5-notifications

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

whagency/yii2-html5-notifications
=================================

Yii2 html5 web notifications

1.0.5(4y ago)192MITPHPPHP &gt;=5.4

Since Jun 25Pushed 4y agoCompare

[ Source](https://github.com/whagency/yii2-html5-notifications)[ Packagist](https://packagist.org/packages/whagency/yii2-html5-notifications)[ RSS](/packages/whagency-yii2-html5-notifications/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (4)Used By (0)

yii2-html5-notifications
========================

[](#yii2-html5-notifications)

Yii2 extension for converting yii2 flash message to html5 web notifications

[![Latest Stable Version](https://camo.githubusercontent.com/531a3e20a120c72b7e9ca11de304b2d125743252649905de95a825d05d7b00ed/68747470733a2f2f706f7365722e707567782e6f72672f77686167656e63792f796969322d68746d6c352d6e6f74696669636174696f6e732f762f737461626c65)](https://packagist.org/packages/whagency/yii2-html5-notifications)[![License](https://camo.githubusercontent.com/dd1bd286671b0d6d306df357040a055f8f40c96ffb9799fe1197b7b63d1a1014/68747470733a2f2f706f7365722e707567782e6f72672f77686167656e63792f796969322d68746d6c352d6e6f74696669636174696f6e732f6c6963656e7365)](https://packagist.org/packages/whagency/yii2-html5-notifications)

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

[](#installation)

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

Either run

```
php composer.phar require "whagency/yii2-html5-notifications" "*"

```

or add to your composer.json file

```
"require": {
    "whagency/yii2-html5-notifications": "*"
},
```

Usage Example
-------------

[](#usage-example)

1. Add widget to your page before `` tag

```
    ...

```

2. Set yii2 flash message

```
Yii::$app->session->setFlash('success', 'My notification message');
```

3. Allow html5 messages in your browser

[![Demo 1](https://github.com/whagency/yii2-html5-notifications/raw/master/demo/1.png)](https://github.com/whagency/yii2-html5-notifications/blob/master/demo/1.png)

4. Result

[![Demo 2](https://github.com/whagency/yii2-html5-notifications/raw/master/demo/2.jpg)](https://github.com/whagency/yii2-html5-notifications/blob/master/demo/2.jpg)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~662 days

Total

3

Last Release

1603d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/40386084?v=4)[WebHeads](/maintainers/whagency)[@whagency](https://github.com/whagency)

---

Top Contributors

[![whagency](https://avatars.githubusercontent.com/u/40386084?v=4)](https://github.com/whagency "whagency (15 commits)")

---

Tags

webHTML5notificationsyii2flash

### Embed Badge

![Health badge](/badges/whagency-yii2-html5-notifications/health.svg)

```
[![Health](https://phpackages.com/badges/whagency-yii2-html5-notifications/health.svg)](https://phpackages.com/packages/whagency-yii2-html5-notifications)
```

###  Alternatives

[minishlink/web-push

Web Push library for PHP

1.9k13.4M70](/packages/minishlink-web-push)[edvinaskrucas/notification

Package for Laravel for helping to manage flash / instant notifications / messages.

520396.4k10](/packages/edvinaskrucas-notification)[tamtamchik/simple-flash

Easy, framework agnostic flash notifications for PHP.

106110.8k6](/packages/tamtamchik-simple-flash)[loveorigami/yii2-notification-wrapper

This module for renders a message from session flash (with ajax, pjax support and etc.)

76204.2k5](/packages/loveorigami-yii2-notification-wrapper)[minishlink/web-push-bundle

Symfony Bundle around the WebPush library

58336.3k2](/packages/minishlink-web-push-bundle)[tuyakhov/yii2-notifications

The extension provides support for sending notifications across a variety of delivery channels, including mail, SMS, Slack etc. Notifications may also be stored in a database so they may be displayed in your web interface.

6736.7k2](/packages/tuyakhov-yii2-notifications)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
