sarin/flash

PHP Simple Flash Message for Lumen, Slim
15
Install
composer require sarin/flash
Latest Version:0.1
PHP:>=5.5.0
License:MIT
Last Updated:Feb 11, 2017
Links: GitHub  ·  Packagist
Maintainer: sarin-r

Php Flash Messages

Simple PHP Flash Message for Lumen, Slim Frameworks

Install

Via Composer

$ composer require sarin/flash

Usage

$flash = new \Sarin\Flash\Messages();

// Add flash message
$flash->add($key, $message);

// Check if flash messages exists for key
$flash->has($key);

// Get flash messages by key
$flash->get($key);

// Get all flash messages
$flash->getAll();

License

The MIT License (MIT). Please see License File for more information.

Related Packages

totalcms/pest-plugin-slim

The Pest Slim Plugin (maintained fork of nekofar/pest-plugin-slim)

26 0
simondavies/slimphp-vanilla

A simple base app, using the PHP framework Slim at its heart, and implementing L...

29 3
sun/flash

Flash helps you to add flash messages to your PHP application.

53 3
sun/laravel-flash

Sun Flash helps you to add flash messages to your Laravel application.

1,831 2