2017 © Pedro Peláez
 

library alert

PHP Application alert handling class.

image

tirien/alert

PHP Application alert handling class.

  • Thursday, January 11, 2018
  • by tirien
  • Repository
  • 1 Watchers
  • 0 Stars
  • 116 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 2 % Grown

The README.md

PHP Alerts

Application alert handling class that easily sets the messages of any type, and dumps them with HTML markup if needed., (*1)

Use to set arbitrarily types of alerts:, (*2)

Alert::set("success", "Successfully saved!");
Alert::set("error", ["Bad phone", "Bad address"]);

By sending the error type as first attribute, you can group messages within Alert object and get the HTML markup with appropriate CSS classes included., (*3)

Print block of alerts with HTML markup:, (*4)

Alert::show();

Get all alerts as array:, (*5)

Alert::get();

Clear all alerts:, (*6)

Alert::clear();

The Versions

11/01 2018

dev-master

9999999-dev https://tirien.com/

PHP Application alert handling class.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Mladen Janjetovic

messages alerts

09/10 2015

1.1

1.1.0.0 https://tirien.com/

PHP Application alert handling class.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Mladen Janjetovic

messages alerts

10/08 2015

1.0

1.0.0.0 https://tirien.com/

Alert Class for Laravel PHP framework.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Mladen Janjetovic

messages alerts