jambtc/yii2-toastr-widget

Un widget Yii2 per flash messages usando Toastr

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

v1.0.0 2025-04-22 12:27 UTC

This package is auto-updated.

Last update: 2025-04-22 12:48:18 UTC


README

Latest Stable Version Total Downloads License

Un semplice widget Yii2 che integra Toastr.js per mostrare notifiche eleganti basate su messaggi flash.

📦 Installazione

Puoi installarlo facilmente tramite Composer:

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

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

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