jasonstelzer/flashes

Laravel 5 flash messages

dev-master / 1.0.x-dev 2017-04-11 20:17 UTC

This package is not auto-updated.

Last update: 2024-05-11 16:50:51 UTC


README

Latest Version on Packagist Software License Build Status Total Downloads

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.