wikichua/alert

A very simple alert messager for Laravel 4 with twitter bootstrap

dev-master 2013-06-14 06:30 UTC

This package is auto-updated.

Last update: 2024-11-24 14:56:06 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 ];