PHPackages                             jonahe/cflash - 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. jonahe/cflash

ActiveLibrary[Framework](/categories/framework)

jonahe/cflash
=============

small PHP module for sending/getting flash messages

v3.0(11y ago)021MITPHPPHP &gt;=5.4

Since Apr 23Pushed 11y ago1 watchersCompare

[ Source](https://github.com/jonahe/cflash)[ Packagist](https://packagist.org/packages/jonahe/cflash)[ RSS](/packages/jonahe-cflash/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

CFlashAnax
==========

[](#cflashanax)

PHP class for sending/recieving flash messages (notices, errors etc.) through use of a session.

Installation
============

[](#installation)

To get started, follow these steps after installing CFlash through Composer.

- Step 1. In your vendor/jonahe/cflash/webroot folder, locate the two files (cflash\_anax.php, cflash\_anax\_redirect.php) and copy them to your own webroot folder. These files show how to use CFlashAnax.
- Step 2. In your vendor/jonahe/cflash/src/Flash folder, locate the class file (CFlashAnax.php) and copy it to your Anax/src/Flash folder.
- Step 3. In your vendor/jonahe/cflash/webroot/css folder, locate the css file (flash.css) and copy it to your webroot/css folder.
- Step 4. Point your webbrowser to cflash\_anax.php. It should set three test messages through the use of CFlashAnax, then do a redirect to the file cflash\_anax\_redirect.php where the messages will be shown.

Note that CFlashAnax makes use of Anax MVC's CSession (session handler). This service is automatically available to CFlashAnax through dependency injection.

For a simpler version, not dependent on the Anax framework or CSession: Use the class CFlashSimple instead. The API/interface to this class is the same as with CFlashAnax.

Exampel code of this approach is found in cflash\_simple.php

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/48bf62b0f0c985bc36b6a2b3dee57212924904e50c98b11dde1b9da5638c4d5a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6f6e6168652f63666c6173682f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jonahe/cflash/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/6a9f005f06564688ec7054d5307eff1a09f2aedabe5ac92c22ba7691e22cff06/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6f6e6168652f63666c6173682f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jonahe/cflash/?branch=master)[![Build Status](https://camo.githubusercontent.com/6cc13089192a041ff345d65bd2291ee74d9b065c3e8e2b846ffc3cf19ca0b628/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6f6e6168652f63666c6173682f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jonahe/cflash/build-status/master)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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 ~1 days

Total

4

Last Release

4040d ago

Major Versions

v1.1 → v2.02015-04-26

v2.0 → v3.02015-04-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/7f69d29e5021ebc49643dc76fdfe2926ffd581fc0d701600521d8d11128a190f?d=identicon)[jonahe](/maintainers/jonahe)

---

Top Contributors

[![umbrellasalesman02](https://avatars.githubusercontent.com/u/10819467?v=4)](https://github.com/umbrellasalesman02 "umbrellasalesman02 (14 commits)")

---

Tags

frameworkmicromvcmodulemessageseducation

### Embed Badge

![Health badge](/badges/jonahe-cflash/health.svg)

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

PHPackages © 2026

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