PHPackages                             alikdex/yii2-toastr - 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. alikdex/yii2-toastr

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

alikdex/yii2-toastr
===================

Yii2 widget for jquery toastr notifications

1.0(9y ago)0273MIT licensePHP

Since Aug 24Pushed 9y agoCompare

[ Source](https://github.com/AlikDex/yii2-toastr)[ Packagist](https://packagist.org/packages/alikdex/yii2-toastr)[ RSS](/packages/alikdex-yii2-toastr/feed)WikiDiscussions master Synced yesterday

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

yii2-toastr
===========

[](#yii2-toastr)

Toastr notifications widget for yii2
====================================

[](#toastr-notifications-widget-for-yii2)

This is the [Toastr](https://github.com/CodeSeven/toastr) extension for Yii 2. It encapsulates Toastr plugin in terms of Yii widgets.

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist alikdex/yii2-toastr "*"

```

or add

```
"alikdex/yii2-toastr": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, you can test that the extension works by simply use it in your code by :

```
