Download the PHP package bpocallaghan/alert without Composer
On this page you can find all versions of the php package bpocallaghan/alert. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download bpocallaghan/alert
More information about bpocallaghan/alert
Files in bpocallaghan/alert
Download bpocallaghan/alert
More information about bpocallaghan/alert
Files in bpocallaghan/alert
Vendor bpocallaghan
Package alert
Short Description A helper package to flash a bootstrap alert to the browser.
License MIT
Package alert
Short Description A helper package to flash a bootstrap alert to the browser.
License MIT
Please rate this library. Is it a good library?
Informations about the package alert
Alert Box (Laravel)
A helper package to flash a bootstrap alert to the browser via a Facade or a helper function.
Want to see the current package in action, have a look at my starter project.
Laravel Starter Project
Installation
First, pull in the package through Composer.
OR
Usage
Within any view file.
Within any Controller.
The different 'levels' are:
alert()->info('Title', 'Lorem Ipsum');
alert()->success('Title', 'Lorem Ipsum');
alert()->warning('Title', 'Lorem Ipsum');
alert()->danger('Title', 'Lorem Ipsum');
The different arguments:
alert()->info('Title', 'Lorem Ipsum', false);
// without the iconalert()->info('Title', 'Lorem Ipsum', 'smile-o');
// specify the icon classalert()->info('Title', 'Lorem Ipsum', 'smile-o', true);
// limit alert to the request lifecyclealert()->message('Title', 'Lorem Ipsum', 'smile-o', true, 'info');
// specify the type of levelalert()->message('Title', 'Lorem Ipsum', 'smile-o', true, 'info', false);
// do not show the 'close'
If you need to modify the view partial, you can run:
The view partial can be found here resources\views\vendor\alert\alert.blade
.
My other Packages
All versions of alert with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0.0
The package bpocallaghan/alert contains the following files
Loading the files please wait ....