PHPackages                             sarin/flash - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. sarin/flash

ActiveLibrary[Framework](/categories/framework)

sarin/flash
===========

PHP Simple Flash Message for Lumen, Slim

0.1(9y ago)015MITPHP

Since Jan 17Pushed 9y agoCompare

[ Source](https://github.com/sarin-r/php-flash-message)[ Packagist](https://packagist.org/packages/sarin/flash)[ RSS](/packages/sarin-flash/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Php Flash Messages
==================

[](#php-flash-messages)

Simple PHP Flash Message for Lumen, Slim Frameworks

Install
-------

[](#install)

Via Composer

```
$ composer require sarin/flash
```

Usage
-----

[](#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
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3453d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24426324?v=4)[Sarin R](/maintainers/sarin-r)[@sarin-r](https://github.com/sarin-r)

---

Top Contributors

[![sarin-r](https://avatars.githubusercontent.com/u/24426324?v=4)](https://github.com/sarin-r "sarin-r (16 commits)")

---

Tags

messagephpframeworkslimlumenflash

### Embed Badge

![Health badge](/badges/sarin-flash/health.svg)

```
[![Health](https://phpackages.com/badges/sarin-flash/health.svg)](https://phpackages.com/packages/sarin-flash)
```

###  Alternatives

[slim/flash

Slim Framework Flash message service provider

1672.3M102](/packages/slim-flash)[slim/php-view

Render PHP view scripts into a PSR-7 Response object.

2849.9M101](/packages/slim-php-view)[kanellov/slim-twig-flash

A Twig extension to access Slim Flash messages in templates

22110.0k11](/packages/kanellov-slim-twig-flash)[davidepastore/slim-config

A slim middleware to read configuration from different files based on hassankhan/config

339.0k1](/packages/davidepastore-slim-config)[patricksavalle/slim-rest-api

Production-grade REST-API App-class for PHP SLIM, in production on https://zaplog.pro (https://api.zaplog.pro/v1)

101.4k](/packages/patricksavalle-slim-rest-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
