2017 © Pedro Peláez
 

library laravel-flash

Easy Flash Messages for Your Laravel App

image

equipc/laravel-flash

Easy Flash Messages for Your Laravel App

  • Friday, September 22, 2017
  • by equipc
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 100 % Grown

The README.md

Easy Flash Messages for Your Laravel App

This package offers a flash messaging setup for your Laravel applications., (*1)

Installation

composer require equipc/flash

Usage

Using the Laravel Facade

  • Flash->message(‘Message’, ‘info);
  • Flash->info(‘Message’);

Using the Helper

  • flash(‘Message’);
  • flash(‘Message’, ‘error’);

Display the message

This package doesn’t provide any way to display the flash message. It only provides helpers to store the message to the session., (*2)

To retrieve the message and the level, simply use the laravel session helper:, (*3)

// Message
session(‘flash.message’); 

// Level
session(‘flash.level’);

The Versions

22/09 2017

dev-master

9999999-dev

Easy Flash Messages for Your Laravel App

  Sources   Download

MIT

The Requires

  • php >=7.1

 

by Michel LAURENT

22/09 2017

1.0

1.0.0.0

Easy Flash Messages for Your Laravel App

  Sources   Download

MIT

The Requires

  • php >=7.1

 

by Michel LAURENT