oyzm/toastr-for-laravel
toastr
toastr for laravel laravel5.*
#Installation
Run :
composer require ryan/toastr-for-laravel
Add providers in config/app.php
Oyzm\Toastr\ToastrServiceProvider::class
Add aliases in config/app.php
'Toastr' => Oyzm\Toastr\Facades\Toastr::class
Run:
php artisan vendor:publish
#Usage
Just add this code to your blade template file:
{!! Toastr::render() !!}
Use these methods in controllers:
Toastr::warning($message, $title = null, $options = []) ;
Toastr::error($message, $title = null, $options = []) ;
Toastr::info($message, $title = null, $options = []);
Toastr::success($message, $title = null, $options = []);
Toastr::clear() ;
Related Packages
erirk/paypalpayment
laravel-paypalpayment is simple package help you process direct credit card paym...
0
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
628,058,007
9,707