rasim/modal

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (v0.0.3) of this package.

Arrangeable Messagebox For Laravel 4

v0.0.3 2014-12-23 13:58 UTC

This package is not auto-updated.

Last update: 2020-08-17 21:20:11 UTC


README

Arrangeable Messagebox For Laravel 4

modal example preview

In composer.json;

"rasim/modal": "dev-master"

In app.php

'Rasim\Modal\ModalServiceProvider',

and for aliases

'Modal'   => 'Rasim\Modal\Facades\Modal',

publish for config file.

php artisan config:publish rasim/modal

publish for view files.

php artisan view:publish rasim/modal

Usage:

{{ 	Modal::confirm("TYPE","MESSAGE TITLE","MESSAGE TEXT","URL") }}
{{ 	Modal::alert("TYPE","MESSAGE TITLE","MESSAGE TEXT") }}
TYPE => fail , success, warning

Example:

{{ 	Modal::confirm("fail","Delete Approve","Are you sure?","delete/1") }}

{{ 	Modal::alert("warning","Please Warning","Be careful please!") }}