Package Data | |
---|---|
Maintainer Username: | sarin-r |
Maintainer Contact: | sarin@mediarede.com (Sarin R) |
Package Create Date: | 2017-01-12 |
Package Last Update: | 2017-02-11 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-15 15:13:57 |
Package Statistics | |
---|---|
Total Downloads: | 14 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Simple PHP Flash Message for Lumen, Slim Frameworks
Via Composer
$ composer require sarin/flash
$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();
The MIT License (MIT). Please see License File for more information.