New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

jasonstelzer/flashes

Laravel 5 flash messages
8 1
Install
composer require jasonstelzer/flashes:dev-master
PHP:>=5.4.0
License:MIT
Last Updated:Apr 11, 2017
Links: GitHub  ·  Packagist
Maintainer: jasonstelzer

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.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

648,266,899 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982
laravel/tinker

Powerful REPL for the Laravel framework.

512,508,631 7,443
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

429,221,767 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

407,699,310 4,663