PHPackages                             dotkernel/dot-controller-plugin-flashmessenger - 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. dotkernel/dot-controller-plugin-flashmessenger

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

dotkernel/dot-controller-plugin-flashmessenger
==============================================

DotKernel flash messenger controller plugin

2.9.2(2y ago)22.4k↓50%31MITPHPPHP ~8.1.0 || ~8.2.0 || ~8.3.0

Since Mar 8Pushed 2y agoCompare

[ Source](https://github.com/dotkernel/dot-controller-plugin-flashmessenger)[ Packagist](https://packagist.org/packages/dotkernel/dot-controller-plugin-flashmessenger)[ RSS](/packages/dotkernel-dot-controller-plugin-flashmessenger/feed)WikiDiscussions 2.9-PHP-8.1 Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (12)Used By (1)

Caution

Security-Only Maintenance Mode
------------------------------

[](#security-only-maintenance-mode)

This package is considered feature-complete, and is now in **security-only** maintenance mode.

dot-controller-plugin-flashmessenger
====================================

[](#dot-controller-plugin-flashmessenger)

Flashmessenger controller plugin for easy access to the flash messenger from any controller.

[![OSS Lifecycle](https://camo.githubusercontent.com/71c6181941c8579305ef030f3d20fced6093b287eabde6ef556d70ae1fe8ce38/68747470733a2f2f696d672e736869656c64732e696f2f6f73736c6966656379636c652f646f746b65726e656c2f646f742d636f6e74726f6c6c65722d706c7567696e2d666c6173686d657373656e676572)](https://camo.githubusercontent.com/71c6181941c8579305ef030f3d20fced6093b287eabde6ef556d70ae1fe8ce38/68747470733a2f2f696d672e736869656c64732e696f2f6f73736c6966656379636c652f646f746b65726e656c2f646f742d636f6e74726f6c6c65722d706c7567696e2d666c6173686d657373656e676572)[![GitHub license](https://camo.githubusercontent.com/fc8c50ba291b50c4e8fe09c71d917f35f21ddaa73287462f6f62c6f0a40dcdd0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f646f746b65726e656c2f646f742d636f6e74726f6c6c65722d706c7567696e2d666c6173686d657373656e676572)](https://github.com/dotkernel/dot-controller-plugin-flashmessenger/blob/2.0.1/LICENSE.md)[![PHP from Packagist (specify version)](https://camo.githubusercontent.com/2c101e7a8438204aa67bf32ad4bc46bbb2c9d3d90d3fc9a82155a4197c0a81e7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f646f746b65726e656c2f646f742d636f6e74726f6c6c65722d706c7567696e2d666c6173686d657373656e6765722f322e392e32)](https://camo.githubusercontent.com/2c101e7a8438204aa67bf32ad4bc46bbb2c9d3d90d3fc9a82155a4197c0a81e7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f646f746b65726e656c2f646f742d636f6e74726f6c6c65722d706c7567696e2d666c6173686d657373656e6765722f322e392e32)

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

[](#installation)

Run the following command in your project root directory

```
$ composer require dotkernel/dot-controller-plugin-flashmessenger
```

This will also install packages `dotkernel/dot-controller` and `dotkernel/dot-flashmessenger` as dependencies. Next, make sure you merge the `ConfigProvider` to your application's configuration in order to register the default dependencies.

Usage
-----

[](#usage)

In any controller, you can access the plugin by calling

```
$this->messenger()->...
```

The methods defined by this plugin are

```
$this->messenger()->addMessage($namespace, $value);
```

Adds a session message to at the requested namespace

```
$this->messenger()->addData($key, $data);
```

Almost the same as the addMessage method, but named differently in order to reserve this function for adding general session data.

There are also some shortcuts to the addMessage method which are using predefined namespaces

```
$this->messenger()->addError($error);

$this->messenger()->addWarning($message);

$this->messenger()->addInfo($message);

$this->messenger()->addSuccess($message);
```

Also, the getter methods

```
$this->messenger()->getMessages($namespace = null);
```

Gets all messages under a namespace, or if namespace is not specified it will return all namespaces with all messages

```
$this->messenger()->getData($key);
```

Gets the data stored at the specified key

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 58.6% 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 ~257 days

Recently: every ~169 days

Total

11

Last Release

784d ago

Major Versions

0.2.1 → v1.0.02018-05-14

v1.0.0 → v2.0.02020-01-30

PHP version history (4 changes)0.1.0PHP ^7.1

v2.0.0PHP ^7.2

2.9.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0

2.9.2PHP ~8.1.0 || ~8.2.0 || ~8.3.0

### Community

Maintainers

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

---

Top Contributors

[![n3vrax](https://avatars.githubusercontent.com/u/5805542?v=4)](https://github.com/n3vrax "n3vrax (17 commits)")[![arhimede](https://avatars.githubusercontent.com/u/22009710?v=4)](https://github.com/arhimede "arhimede (4 commits)")[![claurospace](https://avatars.githubusercontent.com/u/224870609?v=4)](https://github.com/claurospace "claurospace (2 commits)")[![gabidj](https://avatars.githubusercontent.com/u/3998573?v=4)](https://github.com/gabidj "gabidj (2 commits)")[![roli85](https://avatars.githubusercontent.com/u/48314447?v=4)](https://github.com/roli85 "roli85 (2 commits)")[![pinclau](https://avatars.githubusercontent.com/u/24491812?v=4)](https://github.com/pinclau "pinclau (1 commits)")[![SergiuBota1](https://avatars.githubusercontent.com/u/50962867?v=4)](https://github.com/SergiuBota1 "SergiuBota1 (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/dotkernel-dot-controller-plugin-flashmessenger/health.svg)

```
[![Health](https://phpackages.com/badges/dotkernel-dot-controller-plugin-flashmessenger/health.svg)](https://phpackages.com/packages/dotkernel-dot-controller-plugin-flashmessenger)
```

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[laminas/laminas-paginator

Paginate collections of data from arbitrary sources

245.7M84](/packages/laminas-laminas-paginator)[neilime/twbs-helper-module

Laminas (formerly Zend Framework) module for easy integration of Twitter Bootstrap

2198.7k](/packages/neilime-twbs-helper-module)[mtymek/blast-reflection-factory

Universal auto-wiring factory for Laminas ServiceManager.

1967.3k](/packages/mtymek-blast-reflection-factory)

PHPackages © 2026

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