2017 © Pedro Peláez
 

library alert

Simple bootstrap alert

image

faisal-arbain/alert

Simple bootstrap alert

  • Wednesday, February 5, 2014
  • by faisalarbain
  • Repository
  • 1 Watchers
  • 2 Stars
  • 66 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Laravel 4 simple Bootstrap Alert

Build Status, (*1)

Simple implementation for Bootstrap Alert in Laravel., (*2)

Installation

To get the lastest version of Alert simply require it in your composer.json file., (*3)

"faisal-arbain/alert": "dev-master"

You'll then need to run composer install to download it and have the autoloader updated., (*4)

Once Alert is installed you need to register the service provider with the application. Open up app/config/app.php and find the providers key., (*5)

'providers' => array(

    'FaisalArbain\Alert\AlertServiceProvider'

)

Alert also ships with a facade which provides the static syntax for creating collections. You can register the facade in the aliases key of your app/config/app.php file., (*6)

'aliases' => array(

    'Alert'  => 'FaisalArbain\Alert\Facades\Alert'

)

Usage

  1. Adding new alert to flash session, (*7)

    Alert::add("success", "succesfully saved!");

    Supported types are success, error, info, warning, (*8)

  2. Then render the alerts on redirected page, (*9)

    Alert::render();

Support or Contact

If you have some problem, Contact faisal.arbain@flavert.com, (*10)

The Versions

05/02 2014

dev-master

9999999-dev

Simple bootstrap alert

  Sources   Download

MIT

The Requires

 

The Development Requires

by Faisal Arbain

05/02 2014

dev-support_41

dev-support_41

Simple bootstrap alert

  Sources   Download

MIT

The Requires

 

The Development Requires

by Faisal Arbain