PHPackages                             xj/yii2-pnotify-widget - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. xj/yii2-pnotify-widget

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

xj/yii2-pnotify-widget
======================

yii2-pnotify-widget

1.0.1(11y ago)01.4k↓50%2BSD-3-ClauseJavaScript

Since Feb 9Pushed 8y ago2 watchersCompare

[ Source](https://github.com/xjflyttp/yii2-pnotify-widget)[ Packagist](https://packagist.org/packages/xj/yii2-pnotify-widget)[ RSS](/packages/xj-yii2-pnotify-widget/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

yii2-pnotify-widget
===================

[](#yii2-pnotify-widget)

===================

composer.json
-------------

[](#composerjson)

```
"require": {
    "xj/yii2-pnotify-widget": "*"
},
```

example
-------

[](#example)

//in View

```
PnotifyAssets::register($this);
```

//JS

```
new PNotify({
    title: "Over Here",
    text: "Check me out. I'm in a different stack.",
    addclass: "stack-custom",
    stack: {"dir1": "down", "dir2": "right", "push": "top"}
})
```

//in View

```
PNotifyHelperAssets::register($this);
```

//JS

```
XJPnotify.notice("notice message")
XJPnotify.info("info message")
XJPnotify.error("error message")
XJPnotify.success("success message")

XJPnotify.setIcon("glyphicon glyphicon-envelope")
XJPnotify.setIcon("ui-icon ui-icon-mail-closed")
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

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 ~25 days

Total

2

Last Release

4085d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f9f04ccc1ccda3af80975323425ff7d5f7d142603f1ad05df6558ffa63256f8d?d=identicon)[xjflyttp](/maintainers/xjflyttp)

---

Top Contributors

[![xjflyttp](https://avatars.githubusercontent.com/u/128428?v=4)](https://github.com/xjflyttp "xjflyttp (6 commits)")

### Embed Badge

![Health badge](/badges/xj-yii2-pnotify-widget/health.svg)

```
[![Health](https://phpackages.com/badges/xj-yii2-pnotify-widget/health.svg)](https://phpackages.com/packages/xj-yii2-pnotify-widget)
```

###  Alternatives

[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)

PHPackages © 2026

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