dev-master
9999999-devSimple bootstrap alert
MIT
The Requires
The Development Requires
by Faisal Arbain
dev-support_41
dev-support_41Simple bootstrap alert
MIT
The Requires
The Development Requires
by Faisal Arbain
Wallogit.com
2017 © Pedro Peláez
Simple bootstrap alert
Simple implementation for Bootstrap Alert in Laravel., (*2)
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'
)
Adding new alert to flash session, (*7)
Alert::add("success", "succesfully saved!");
Supported types are success, error, info, warning, (*8)
Then render the alerts on redirected page, (*9)
Alert::render();
If you have some problem, Contact faisal.arbain@flavert.com, (*10)
Simple bootstrap alert
MIT
Simple bootstrap alert
MIT