2017 © Pedro Peláez
 

library flash

Laravel 5 Flash Messages

image

caffeinated/flash

Laravel 5 Flash Messages

  • Friday, February 17, 2017
  • by kai_desu
  • Repository
  • 5 Watchers
  • 47 Stars
  • 12,823 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 8 Forks
  • 3 Open issues
  • 6 Versions
  • 7 % Grown

The README.md

Caffeinated Flash Messages

Source License, (*1)

Laravel 5 flash messages, based off the Laracasts video tutorial on the same topic: Flexible Flash Messages. Originally developed for FusionCMS, an open source content management system., (*2)

Quick Installation

Begin by installing the package through Composer., (*3)

composer require caffeinated/flash

Once this operation is complete, simply add both the service provider and facade classes to your project's config/app.php file:, (*4)

Service Provider

Caffeinated\Flash\FlashServiceProvider::class,

Facade

'Flash' => Caffeinated\Flash\Facades\Flash::class,

And that's it! With your coffee in reach, start flashing out messages!, (*5)

Usage

Usage is simple. Before redirecting to another page, simply call on Flash to set your desired flash message. There are a number of methods to assign different levels of priority (info, success, warning, and error)., (*6)

Success

Flash::success('This is a success message.');

Info

Flash::info('This is an info message.');

Warning

Flash::warning('This is a warning message.');

Error

Flash::error('This is an error message.');

Rendering

To render your flash messages in your view, simply include the bundled view partial in your master layout:, (*7)

@include('flash::message')

Note that the bundled view partial is geared for Bootstrap out of the box., (*8)

The Versions

17/02 2017

v3.0.1

3.0.1.0

Laravel 5 Flash Messages

  Sources   Download

MIT

The Requires

 

The Development Requires

by Shea Lewis

laravel flash caffeinated

24/08 2016

v3.0

3.0.0.0

Laravel 5 Flash Messages

  Sources   Download

MIT

The Requires

 

The Development Requires

by Shea Lewis

laravel flash caffeinated

26/02 2016

v2.1

2.1.0.0

Laravel 5 Flash Messages

  Sources   Download

MIT

The Requires

 

The Development Requires

by Shea Lewis

laravel flash caffeinated

26/02 2016

v2.1.1

2.1.1.0

Laravel 5 Flash Messages

  Sources   Download

MIT

The Requires

 

The Development Requires

by Shea Lewis

laravel flash caffeinated

26/06 2015

v2.0

2.0.0.0

Laravel 5 Flash Messages

  Sources   Download

MIT

The Requires

 

The Development Requires

by Shea Lewis

laravel flash caffeinated

13/06 2015

v1.0.1

1.0.1.0

Laravel 5 Flash Messages

  Sources   Download

MIT

The Requires

 

The Development Requires

by Shea Lewis

laravel flash caffeinated