PHPackages                             jambtc/yii2-toastr-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. [Mail &amp; Notifications](/categories/mail)
4. /
5. jambtc/yii2-toastr-widget

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

jambtc/yii2-toastr-widget
=========================

Un widget Yii2 per flash messages usando Toastr

v1.0.0(1y ago)01.9k—3.8%MITPHPPHP &gt;=7.4

Since Apr 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/jambtc/yii2-toastr-widget)[ Packagist](https://packagist.org/packages/jambtc/yii2-toastr-widget)[ RSS](/packages/jambtc-yii2-toastr-widget/feed)WikiDiscussions main Synced 1mo ago

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

Yii2 Toastr Widget 🔥
====================

[](#yii2-toastr-widget-)

[![Latest Stable Version](https://camo.githubusercontent.com/15deab2294273eaf59a7d611e1d3df426f366cd95101160c3fa56e736cde6531/68747470733a2f2f706f7365722e707567782e6f72672f6a616d6274632f796969322d746f617374722d7769646765742f762f737461626c65)](https://packagist.org/packages/jambtc/yii2-toastr-widget)[![Total Downloads](https://camo.githubusercontent.com/2cc7c4401993c5fe3c4744f3cad2b7e08c6c33685bd71cdfe047278d5db7fc89/68747470733a2f2f706f7365722e707567782e6f72672f6a616d6274632f796969322d746f617374722d7769646765742f646f776e6c6f616473)](https://packagist.org/packages/jambtc/yii2-toastr-widget)[![License](https://camo.githubusercontent.com/b0327a76f84e2637f09e82a46095b557dc0a958f0037425de3d929ce51bfb24d/68747470733a2f2f706f7365722e707567782e6f72672f6a616d6274632f796969322d746f617374722d7769646765742f6c6963656e7365)](https://packagist.org/packages/jambtc/yii2-toastr-widget)

Un semplice widget Yii2 che integra [Toastr.js](https://codeseven.github.io/toastr/) per mostrare notifiche eleganti basate su messaggi flash.

---

📦 Installazione
---------------

[](#-installazione)

Puoi installarlo facilmente tramite [Composer](https://getcomposer.org/):

```
composer require jambtc/yii2-toastr-widget
```

Assicurati che il tuo progetto Yii2 supporti l’installazione di pacchetti bower-asset/\*. Se non funziona, aggiungi nel composer.json principale:

```
"config": {
    "fxp-asset": {
        "enabled": true
    }
}
```

Configurazione
--------------

[](#configurazione)

Nel layout principale (es: views/layouts/main.php), inserisci il widget:

```
\jambtc\ToastrWidget\Toast::widget();
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance47

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

392d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/47701ba7eb67ed045c5969c8b4a6849133d6e8bde59c0a31d3b500ac38640b6d?d=identicon)[jambtc](/maintainers/jambtc)

---

Top Contributors

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

---

Tags

notificationsyii2widgettoastr

### Embed Badge

![Health badge](/badges/jambtc-yii2-toastr-widget/health.svg)

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

###  Alternatives

[loveorigami/yii2-notification-wrapper

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

77199.7k5](/packages/loveorigami-yii2-notification-wrapper)[diecoding/yii2-toastr

Simple flash toastr notifications for Yii2

1328.8k](/packages/diecoding-yii2-toastr)[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.

6735.5k2](/packages/tuyakhov-yii2-notifications)[odaialali/yii2-toastr

This is the Toastr extension for Yii 2. It encapsulates Toastr plugin in terms of Yii widgets, and makes ajax notification easy to implement.

1486.3k](/packages/odaialali-yii2-toastr)

PHPackages © 2026

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