jasonstelzer / flashes
Laravel 5 flash messages
dev-master / 1.0.x-dev
2017-04-11 20:17 UTC
Requires
- php: >=5.4.0
- illuminate/support: ~5.1
Requires (Dev)
- phpunit/phpunit: 4.*
- scrutinizer/ocular: ~1.1
This package is not auto-updated.
Last update: 2024-11-23 19:48:26 UTC
README
This is a package for flash messages in Laravel 5. It is based off of a tutorial by Jeffrey Way at Laracasts. More documentation coming soon.
Install
In app/config/app.php
, add the following lines:
In the providers array
jstelz\Flashes\FlashesServiceProvider::class,
In the aliases array
jstelz\Flashes\Flashes::class,
Usage
Flashes::info('This is an informational message'); Flashes::success('This is a success message'); Flashes::warning('This is a warning message'); Flashes::error('This is an error message');
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Credits
License
The MIT License (MIT). Please see License File for more information.