kartik-v/yii2-widget-growl A widget to generate growl based notifications using bootstrap-growl plugin (sub repo split from yii2-widgets)

extensionwidgetbootstrapjqueryalertpluginnotificationgrowl

Krajee Logo
yii2-widget-growl Donate       kartikv

[![Stable Version](https://poser.pugx.org/kartik-v/yii2-widget-growl/v/stable)](https://packagist.org/packages/kartik-v/yii2-widget-growl) [![Unstable Version](https://poser.pugx.org/kartik-v/yii2-widget-growl/v/unstable)](https://packagist.org/packages/kartik-v/yii2-widget-growl) [![License](https://poser.pugx.org/kartik-v/yii2-widget-growl/license)](https://packagist.org/packages/kartik-v/yii2-widget-growl) [![Total Downloads](https://poser.pugx.org/kartik-v/yii2-widget-growl/downloads)](https://packagist.org/packages/kartik-v/yii2-widget-growl) [![Monthly Downloads](https://poser.pugx.org/kartik-v/yii2-widget-growl/d/monthly)](https://packagist.org/packages/kartik-v/yii2-widget-growl) [![Daily Downloads](https://poser.pugx.org/kartik-v/yii2-widget-growl/d/daily)](https://packagist.org/packages/kartik-v/yii2-widget-growl)

A widget that turns standard Bootstrap alerts into "Growl-like" notifications. This widget is a wrapper for the Bootstrap Growl plugin by remabledesigns.

NOTE: This extension is a sub repo split of yii2-widgets. The split has been done since 08-Nov-2014 to allow developers to install this specific widget in isolation if needed. One can also use the extension the previous way with the whole suite of yii2-widgets.

Installation

The preferred way to install this extension is through composer. Check the composer.json for this extension's requirements and dependencies. Read this web tip /wiki on setting the minimum-stability settings for your application's composer.json.

To install, either run

$ php composer.phar require kartik-v/yii2-widget-growl "*"

or add

"kartik-v/yii2-widget-growl": "*"

to the require section of your composer.json file.

Latest Release

Refer the CHANGE LOG for details on changes to various releases.

Demo

You can refer detailed documentation and demos on usage of the extension.

Usage

use kartik\growl\Growl;

echo Growl::widget([
    'type' => Growl::TYPE_SUCCESS,
    'icon' => 'glyphicon glyphicon-ok-sign',
    'title' => 'Note',
    'showSeparator' => true,
    'body' => 'This is a successful growling alert.'
]);

License

yii2-widget-growl is released under the BSD-3-Clause License. See the bundled LICENSE.md for details.

Changelog

Change Log: yii2-widget-alert

Version 1.1.3

Date: 28-Oct-2021

  • Enhancements to support Bootstrap v5.x.

Version 1.1.2

Date: 19-May-2021

  • (enh #6): Change Growl::$_settings var from private to protected.
  • Enhancements to support both Bootstrap 4.x & 3.x.
  • Move all source code to src directory.

Version 1.1.1

Date: 03-May-2015

  • enh #4: Upgrade extension to use latest release & features of bootstrap-notify plugin.

Version 1.1.0

Date: 10-Nov-2014

  • bug #1: Correct AnimateAsset dependency
  • set stability to stable

Version 1.0.0

Date: 08-Nov-2014

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



v1.1.2 is the latest of 4 releases



BSD-3-Clause license
Stats
38 github stars & 16 github forks
557 downloads in the last day
42779 downloads in the last 30 days
3104921 total downloads