wikichua / alert by wikichua

A very simple alert messager for Laravel 4 with twitter bootstrap
39
0
1
Package Data
Maintainer Username: wikichua
Maintainer Contact: wikichua@gmail.com (wikichu)
Package Create Date: 2013-06-14
Package Last Update: 2013-06-14
Language: PHP
License: BSD-2-Clause
Last Refreshed: 2024-11-24 03:00:12
Package Statistics
Total Downloads: 39
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 1
Total Open Issues: 0

alert

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 ];