jasonstelzer / flashes
Laravel 5 flash messages
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
pkg:composer/jasonstelzer/flashes
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: 2025-10-12 00:30:56 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.