PHPackages                             olve/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. olve/flash

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

olve/flash
==========

Various base classes for flash message management

06PHP

Since Apr 28Pushed 10y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

flash
=====

[](#flash)

A flash messagae Anax module

A module for Anax
=================

[](#a-module-for-anax)

This flash module for your Anax MVC is composed to you by Olivia V. .

How to install
==============

[](#how-to-install)

- Use composer and packagist
- Open the /webroot folder where you will find a demo file and a quick view file
- Copy and paste flash-demo.php to your own /webroot folder for testing
- If the site isn't displayed correctly, move the CFlash.php and CFlashSession to your own /src folder

In composer:

$ composer require olve/flash

Dependencies:

"php": "&gt;=5.4", "anax/mvc": "dev-master"

The module
==========

[](#the-module)

There are two classes - CFlash.php and CFlashSession. They're both called by the webroot file flash-demo.php.

The style sheet is called in flash-demo.php as well, "$app-&gt;theme-&gt;addStylesheet('../vendor/olve/webroot/css/flash.css'"

Functions
=========

[](#functions)

This module will sent success, notice and error messages. It's based off a Phalcon tutorial.

Sessions
========

[](#sessions)

The main code in flash-demo.php will call CFlashSession to ensure that the notice message has survived the redirect.

Messages
========

[](#messages)

```
$content .= $app->flash->success('Success message!');
$content .= $app->flash->notice('Notice message.');
$content .= $app->flash->error('Error message');

```

CSS file
========

[](#css-file)

Styles all the messages in a separate letters matter.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18482650?v=4)[Spicachu](/maintainers/Spicachu)[@Spicachu](https://github.com/Spicachu)

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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