jasonstelzer / flashes by jasonstelzer

Laravel 5 flash messages
8
0
0
Package Data
Maintainer Username: jasonstelzer
Package Create Date: 2015-10-30
Package Last Update: 2017-04-11
Language: PHP
License: MIT
Last Refreshed: 2024-11-22 03:03:09
Package Statistics
Total Downloads: 8
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 0
Total Forks: 0
Total Open Issues: 0

flashes

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.