2017 © Pedro Peláez
 

yii2-extension yii2-flash-growl

Widget to output all flash messages as growls.

image

derekisbusy/yii2-flash-growl

Widget to output all flash messages as growls.

  • Saturday, February 25, 2017
  • by derekisbusy
  • Repository
  • 1 Watchers
  • 1 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 4 % Grown

The README.md

Growl Flash Messages

Packagist Packagist, (*1)

Widget to output flash messages as growls., (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

composer require --prefer-dist derekisbusy/yii2-flash-growl "1.*"

or add, (*5)

"derekisbusy/yii2-flash-growl": "1.*"

to the require section of your composer.json file., (*6)

Usage

Once the extension is installed, simply use it in your code by :, (*7)


// add flash messages under category growl... Yii::$app->getSession()->addFlash('growl', [ 'type' => 'success', 'duration' => 1500, 'icon' => 'fa fa-success', 'title' => 'Success!', 'message' => 'Action has been performed.', ]); // Display growls in your view... echo \derekisbusy\growl\FlashGrowlWidget::widget(); // Or render the _growl view in the controller if you only need to render the growls... return $this->renderAjax('@derekisbusy/yii2-growl/_growl');

The Versions

25/02 2017

dev-master

9999999-dev

Widget to output all flash messages as growls.

  Sources   Download

BSD-3-Clause

The Requires

 

by Derek Gifford

extension yii2

25/02 2017

1.0.0

1.0.0.0

Widget to output all flash messages as growls.

  Sources   Download

BSD-3-Clause

The Requires

 

by Derek Gifford

extension yii2