PHPackages                             humble/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. humble/flash

ActiveLibrary

humble/flash
============

HUMBLE Flash

010PHP

Since Feb 28Pushed 10y agoCompare

[ Source](https://github.com/humblephp/humble-flash)[ Packagist](https://packagist.org/packages/humble/flash)[ RSS](/packages/humble-flash/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

humble-flash
============

[](#humble-flash)

[![Latest Version](https://camo.githubusercontent.com/696df10d2028544081df19bbb2e0438d4af0e2af435963a3881b61909939f489/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f68756d626c657068702f68756d626c652d666c6173682e737667)](https://github.com/humblephp/humble-flash/releases)[![Software License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/d4b12d68f2ce89452ca14b7b9bb81cc67f44f284ae1e7547959f66097eac0551/68747470733a2f2f6170692e7472617669732d63692e6f72672f68756d626c657068702f68756d626c652d666c6173682e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/humblephp/humble-flash)

HUMBLE Flash

Install
-------

[](#install)

Via Composer

```
$ composer require humble/flash
```

Usage
-----

[](#usage)

Get PHP Flash.

```
$flash = new \Humble\Flash\Flash;

```

Get PHP Flash with custom settings.

```
$flash = new \Humble\Flash\Flash(array('sessionKey' => 'flash'));

```

Save PHP Flash messages from PHP Flash session.

```
$flash->saveMessages();

```

Reset PHP Flash session.

```
$flash->resetSession();

```

Save and reset with PSR-7 Flash Middleware.

```
$middleware = new \Humble\Flash\FlashMiddleware($flash);
$response = $middleware($request, $response, $next);

```

Get saved PHP Flash messages.

```
$messages = $flash->getMessages();

```

Push PHP Flash message to PHP Flash session.

```
$flash->pushMessage('success', "It's just a test!");

```

License
-------

[](#license)

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

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b7f2440906b221ed621f106dca65931a0d2de3516a523782923fdf581da3f03?d=identicon)[arekwiertlewski](/maintainers/arekwiertlewski)

### Embed Badge

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

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

PHPackages © 2026

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