PHPackages                             nixar59/yii2-bs4-alert - 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. [Templating &amp; Views](/categories/templating)
4. /
5. nixar59/yii2-bs4-alert

ActiveYii2-extension[Templating &amp; Views](/categories/templating)

nixar59/yii2-bs4-alert
======================

Contains widget class for display alerts in views and add it from controllers.

00[1 issues](https://github.com/nixar59/yii2-bs4-alert/issues)[1 PRs](https://github.com/nixar59/yii2-bs4-alert/pulls)PHP

Since Aug 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/nixar59/yii2-bs4-alert)[ Packagist](https://packagist.org/packages/nixar59/yii2-bs4-alert)[ RSS](/packages/nixar59-yii2-bs4-alert/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Yii2 Bootstrap4 Alert widget
============================

[](#yii2-bootstrap4-alert-widget)

Contains widget class for display alerts in views and add it from controllers.

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist nixar59/yii2-bs4-alert "*"

```

or add

```
"nixar59/yii2-bs4-alert": "*"

```

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

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your view to display alerts :

```

```

To add alerts use static methods :

```
