wikichua / alert
A very simple alert messager for Laravel 4 with twitter bootstrap
Installs: 39
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/wikichua/alert
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2025-10-24 17:11:15 UTC
README
Register Service Provider
'provider' => array( ... 'Wikichua\Alert\AlertServiceProvider' ... )
'aliases' => array( ... 'Alert' => 'Wikichua\Alert\Facades\Alert', ... ),
To use it
Alert::show();
Publishing asset and config file
php artisan config:publish wikichua/alert php artisan asset:publish wikichua/alert
Configuration
return [ 'use_default_asset' => false, // set to true if want to use default bootstrap css / js from package 'default_asset_path' => 'packages/wikichua/alert/', // try not to change this ];