PHPackages                             ider/flashmessages - 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. ider/flashmessages

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

ider/flashmessages
==================

FlashMessages is a class to handle success, debug, warning and error messages. It's made for the framework Anax-MVC.

09PHP

Since Dec 14Pushed 11y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/e7ebe44feef6ce7d95db8ce30093422ad568dc85767c85d7d9fd55af16e0beb3/68747470733a2f2f7472617669732d63692e6f72672f70626a7568722f466c6173684d657373616765732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/idajosefin/FlashMessages.svg?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/fc27a5274c4ab4a1d63c0a7c49abebaed16ff7d838170e13824d2e87268d918c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6964616a6f736566696e2f466c6173684d657373616765732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/idajosefin/FlashMessages/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/39776773b340ffa38c507837acd6ac1cbac5ba61328137b7200c9a39e8dc0532/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6964616a6f736566696e2f466c6173684d657373616765732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/idajosefin/FlashMessages/?branch=master)

FlashMessages
=============

[](#flashmessages)

FlashMessages is a class to handle success, debug, warning and error messages. It's made for the framework Anax-MVC.

How to use
----------

[](#how-to-use)

\###1. Download

The easiest way to install this is using composer. Add this your composer.json:

```
"require": {
    "ider/flashmessages": "dev-master"
},
```

\###2. Include FlashMessages in your project Session must be started before using FlashMessages. In order to include the class in you Anax-MVC, you can add this in your front controller:

```
$di->setShared('FlashMessages', function() use ($di) {
    $FlashMessages = new \ider\FlashMessages\FlashMessages($di);
    return $FlashMessages;
});
```

\###3. Generate and display messages Four different types of messages can be generated. Here is and example of how you can display a message in Anax-MVC:

```
    $app->FlashMessages->addSuccess("Yes, Everything went very smoothly!");
    $app->FlashMessages->addInfo("This is very important information.");
    $app->FlashMessages->addWarning("This is a warning.");
    $app->FlashMessages->addError("Too bad! Something went wrong.");
```

###  Health Score

20

—

LowBetter than 14% 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://www.gravatar.com/avatar/b89b380a4e0b8f5e83c760e783ef4f19d084346bfd8a3bac5c34e943d2bd4607?d=identicon)[idajosefin](/maintainers/idajosefin)

---

Top Contributors

[![idajosefin](https://avatars.githubusercontent.com/u/7533906?v=4)](https://github.com/idajosefin "idajosefin (12 commits)")

### Embed Badge

![Health badge](/badges/ider-flashmessages/health.svg)

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

###  Alternatives

[internetcode/laravel-user-settings

Easy boolean settings per user

377.6k](/packages/internetcode-laravel-user-settings)

PHPackages © 2026

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