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

ActiveLibrary

appotter/flash-message
======================

Library for storing and retrieving flash messages with your native php application.

1.0.5(10y ago)031[1 PRs](https://github.com/appotter/flash-message/pulls)MITPHPPHP &gt;=5.3.0

Since Nov 22Pushed 2y ago1 watchersCompare

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

READMEChangelog (6)DependenciesVersions (9)Used By (0)

Flash Message
=============

[](#flash-message)

This is a simple library which has two static methods allowing you to get/set flash data or messages.

Coded by Joel Vardy.

Reformer by Phitsanu AP Chuamuangphan

Installation
------------

[](#installation)

Add the following to your `composer.json` require object:

```
"appotter/flash-message": "~1.0"
```

Usage
-----

[](#usage)

### Data

[](#data)

Set data upon failure.

```
Flash::data(array(
	'username' => $username,
	'email'    => $email
));
```

Read data to display on the front end:

```
$data = Flash::data();
```

### Messages

[](#messages)

Set an error message:

```
Flash::message('error', 'You must enter a valid email address.');
```

Read all flash messages:

```
$messages = Flash::message();
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Every ~0 days

Total

6

Last Release

3827d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.4.0

1.0.2PHP &gt;=5.3.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/610443?v=4)[ap potter](/maintainers/appotter)[@appotter](https://github.com/appotter)

---

Top Contributors

[![appotter](https://avatars.githubusercontent.com/u/610443?v=4)](https://github.com/appotter "appotter (9 commits)")

---

Tags

dataflashmessages

### Embed Badge

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

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

###  Alternatives

[edvinaskrucas/notification

Package for Laravel for helping to manage flash / instant notifications / messages.

520393.9k10](/packages/edvinaskrucas-notification)[plasticbrain/php-flash-messages

A modern take on PHP session-based flash messages

184229.6k8](/packages/plasticbrain-php-flash-messages)[tamtamchik/simple-flash

Easy, framework agnostic flash notifications for PHP.

105104.1k5](/packages/tamtamchik-simple-flash)[coderello/laraflash

Advanced flash messages for Laravel.

15737.2k1](/packages/coderello-laraflash)[cartalyst/alerts

Alerts allows you to easily pass alert messages to your Laravel views.

3064.2k](/packages/cartalyst-alerts)[devmarketer/laraflash

A powerful and flexible flash notifications system. Improving over built-in Laravel Flash messaging functionality.

6310.3k1](/packages/devmarketer-laraflash)

PHPackages © 2026

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