PHPackages                             zenify/flash-message-component - 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. zenify/flash-message-component

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

zenify/flash-message-component
==============================

Flash message component for Nette

v4.0.1(11y ago)38.4k3MITPHPPHP &gt;=5.5

Since Mar 30Pushed 11y ago1 watchersCompare

[ Source](https://github.com/deprecated-packages/FlashMessageComponent)[ Packagist](https://packagist.org/packages/zenify/flash-message-component)[ RSS](/packages/zenify-flash-message-component/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (5)Versions (22)Used By (0)

Flash Message Component
=======================

[](#flash-message-component)

[![Build Status](https://camo.githubusercontent.com/126260fc4087bdcb7b7eed2e570779dcd2f4893d83aa3c8f97861d6df68ea54e/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f5a656e6966792f466c6173684d657373616765436f6d706f6e656e742e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Zenify/FlashMessageComponent)[![Quality Score](https://camo.githubusercontent.com/8330964d4c6366e88ee3a8ef9783d280d12ce049bb1b84ee0785ac7146d27089/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f5a656e6966792f466c6173684d657373616765436f6d706f6e656e742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Zenify/FlashMessageComponent)[![Code Coverage](https://camo.githubusercontent.com/2de42da2e0c4c184512a2e514c26dcfffcf5c49d898dedfce8a0bb98df5fe363/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f5a656e6966792f466c6173684d657373616765436f6d706f6e656e742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Zenify/FlashMessageComponent)[![Downloads this Month](https://camo.githubusercontent.com/1c2f7962350c6ec25bfe3f3720577204185f873d74d4b26dac691751a7b823dc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f7a656e6966792f666c6173682d6d6573736167652d636f6d706f6e656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zenify/flash-message-component)[![Latest stable](https://camo.githubusercontent.com/051bdddb70f4114b23e922f0d882612683f9af69326ca9b434cae156f38182d0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a656e6966792f666c6173682d6d6573736167652d636f6d706f6e656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zenify/flash-message-component)

This extension simplifies use of flash messages in templates just to `{control flashMessage}`: Also includes translator support and css class prefix.

Install
-------

[](#install)

Via Composer:

```
$ composer require zenify/flash-message-component
```

And register extension in `config.neon`:

```
extensions:
	- Zenify\FlashMessageComponent\DI\FlashMessageExtension
```

Usage
-----

[](#usage)

Inject to presenter

```
class Presenter ...
{

	/**
	 * @inject
	 * @var Zenify\FlashMessageComponent\FlashMessageControlFactory
	 */
	public $flashMessageControlFactory;

	/**
	 * @return Zenify\FlashMessageComponent\FlashMessageControl
	 */
	public function createComponentFlashMessage()
	{
		return $this->flashMessageControlFactory->create();
	}

}
```

Render in template

```
{control flashMessage}
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

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

Recently: every ~40 days

Total

21

Last Release

4082d ago

Major Versions

v0.1.1 → v1.0.02014-06-27

v1.1.3 → v2.0.02014-10-02

v2.1.0 → v3.0.02014-11-22

v3.0.0 → v4.0.02014-12-16

PHP version history (2 changes)v0.0.1PHP &gt;=5.4

v4.0.0PHP &gt;=5.5

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/538058?v=4)[Milan Šulc](/maintainers/f3l1x)[@f3l1x](https://github.com/f3l1x)

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

---

Top Contributors

[![TomasVotruba](https://avatars.githubusercontent.com/u/924196?v=4)](https://github.com/TomasVotruba "TomasVotruba (1 commits)")

### Embed Badge

![Health badge](/badges/zenify-flash-message-component/health.svg)

```
[![Health](https://phpackages.com/badges/zenify-flash-message-component/health.svg)](https://phpackages.com/packages/zenify-flash-message-component)
```

###  Alternatives

[nette/code-checker

✅ Nette CodeChecker: A simple tool to check source code against a set of Nette coding standards.

881.7M6](/packages/nette-code-checker)[tomaj/nette-api

Nette api

36261.8k4](/packages/tomaj-nette-api)[tomaj/hermes

Simple php background processing library

38251.0k5](/packages/tomaj-hermes)[uestla/twigrid

Experimental DataGrid for Nette Framework

1712.3k2](/packages/uestla-twigrid)

PHPackages © 2026

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