PHPackages                             ezon/flashmessage - 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. ezon/flashmessage

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

ezon/flashmessage
=================

Message controller for ANAX-MVC

v1.0(10y ago)016MITPHPPHP &gt;=5.4

Since Nov 8Pushed 10y ago1 watchersCompare

[ Source](https://github.com/emanulzone/FlashMessage)[ Packagist](https://packagist.org/packages/ezon/flashmessage)[ Docs](http://emanuelzone.se)[ RSS](/packages/ezon-flashmessage/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b317ae7d5b395d8c06836ca9ce8eabb1c6d6e95cc10e283a599d98812a85f990/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f656d616e756c7a6f6e652f466c6173684d6573736167652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/emanulzone/FlashMessage/?branch=master) [![Code Coverage](https://camo.githubusercontent.com/5911ffcce9aec943209b7f2784732a6ca415df0206febd6897a855843857e898/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f656d616e756c7a6f6e652f466c6173684d6573736167652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/emanulzone/FlashMessage/?branch=master) [![Build Status](https://camo.githubusercontent.com/119edcca0891a2f01953c18719301cb41b623d2ecb4bc6b7106a82def52e0ea9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f656d616e756c7a6f6e652f466c6173684d6573736167652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/emanulzone/FlashMessage/build-status/master) [![Build Status](https://camo.githubusercontent.com/3bca410639e0eb20ffc6dfa1b05063b7bc19034d89b3feff5b5b9e321a8a6644/68747470733a2f2f7472617669732d63692e6f72672f656d616e756c7a6f6e652f466c6173684d6573736167652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/emanulzone/FlashMessage)

FlashMessageControl
===================

[](#flashmessagecontrol)

Hello there,

This is a result of a lesson in a school project.

Flash messages are used to inform the user about the state of the action he / she has made or simply displaying information to users. These types of messages can be generated using this component. Below you will find some examples of instant messaging with Font Awesome.

You can easily remove or add your own messages, but you must specify them in the flashmessages.css. This version is also used with Font Awesome which you can download via .

\#Installation

1. To install, I recommend composer.
2. Add this line into composer.json file: "require": {"ezon/flashmessage": "dev-master"}

\#Access the controller in your frontcontroller:

$di-&gt;setShared('flashMessages', function() use ($di){ $flashMessages = new Ezon\\FlashMessage\\FlashController($di); return $flashMessages; });

In the router you also need to add the css-stylesheet flashmessages.css. Make sure that the name in the css corresponds to the name in the addMessage function if you decide to add a new message.

\#Add the route in your front controller:

// Test Route $app-&gt;router-&gt;add('', function() use ($app) {

```
$app->theme->setTitle("Flash messages");
$app->theme->addStylesheet('css/flashmessages.css');
$app->flashMessages->addMessage(' CHECK!', 'success');
$app->flashMessages->addMessage(' Information', 'info');
$app->flashMessages->addMessage(' Warning!', 'warning');
$app->flashMessages->addMessage(' Something went wrong!', 'error');

```

//Adds the view to display the messages

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

});

Good luck! :)

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3889d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f55d76df5e852a5af1dfeff2f52158fe490bd2708d3866af552f23a04cbc54de?d=identicon)[emanuelzone](/maintainers/emanuelzone)

---

Top Contributors

[![emanuelzone](https://avatars.githubusercontent.com/u/10729804?v=4)](https://github.com/emanuelzone "emanuelzone (56 commits)")

---

Tags

flashmessageCFlashMessage

### Embed Badge

![Health badge](/badges/ezon-flashmessage/health.svg)

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

PHPackages © 2026

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