PHPackages                             dambuk/cflashmessages - 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. dambuk/cflashmessages

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

dambuk/cflashmessages
=====================

Messages for Anax-MVC

v3.0(10y ago)019MITPHPPHP &gt;=5.4

Since May 12Pushed 10y ago1 watchersCompare

[ Source](https://github.com/dambuk/CFlashMessages)[ Packagist](https://packagist.org/packages/dambuk/cflashmessages)[ Docs](http://github.com/dambuk/CFlashMessages)[ RSS](/packages/dambuk-cflashmessages/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (3)Used By (0)

[![Build Status](https://camo.githubusercontent.com/da1f368502b5b880cc0df5c3c309e6420ed3e8fb012c502dc45b1cd1663ede5d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64616d62756b2f43466c6173684d657373616765732f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dambuk/CFlashMessages/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/4ab85f308d0b18c32ef46567a487ecb92a0f5a766dc5fb5dbbe9e6d403e9d375/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64616d62756b2f43466c6173684d657373616765732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dambuk/CFlashMessages/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/75ec981a7838918da6629d2b6c5167f3b0618bffa905b12ea09e932c12f2de11/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64616d62756b2f43466c6173684d657373616765732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dambuk/CFlashMessages/?branch=master)

CFlashMessages
==============

[](#cflashmessages)

Class to show flash messages.

Add this to your composer.json file. "require": { "dambuk/cflashmessage": "dev-master" } Then use composer/packagist to download the package.

Put this in your frontcontroller to get it working. $di-&gt;setShared('flashMessages', function() use ($di){ $flashMessages = new \\dambuk\\FlashMessage\\CFlashMessage($di); return $flashMessages; });

In the router you need to add the css-stylesheet flash.css

Example code to show the messages. $app-&gt;router-&gt;add('flash', function() use ($app) {

$title = "Flashmeddelanden"; $app-&gt;theme-&gt;setTitle($title); $app-&gt;theme-&gt;addStylesheet('css/flash.css'); $app-&gt;flashMessages-&gt;addMessage('Congratulations!', 'success'); $app-&gt;flashMessages-&gt;addMessage('Information', 'info'); $app-&gt;flashMessages-&gt;addMessage('Warning!', 'warning'); $app-&gt;flashMessages-&gt;addMessage('Something went wrong!', 'error');

$app-&gt;views-&gt;add('me/page', \[ 'content' =&gt; $app-&gt;flashMessages-&gt;getFlashMessages(), \]);

});

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Every ~0 days

Total

2

Last Release

3700d ago

Major Versions

v1.0 → v3.02016-05-12

### Community

Maintainers

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

---

Top Contributors

[![dambuk](https://avatars.githubusercontent.com/u/18289914?v=4)](https://github.com/dambuk "dambuk (11 commits)")

---

Tags

flashMessagesCFlashmessages

### Embed Badge

![Health badge](/badges/dambuk-cflashmessages/health.svg)

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

###  Alternatives

[awes-io/navigator

🧿 Build navigation or menu for Laravel and Awes.io. Unlimit complexity and depth of the menu.

4922.8k](/packages/awes-io-navigator)

PHPackages © 2026

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