PHPackages                             holabs/flashes - 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. [Framework](/categories/framework)
4. /
5. holabs/flashes

ActiveLibrary[Framework](/categories/framework)

holabs/flashes
==============

Flash messages extension for Nette Framework

1.0.1(8y ago)020BSD-3-ClausePHPPHP &gt;=5.6

Since Mar 6Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Holabs/Flashes)[ Packagist](https://packagist.org/packages/holabs/flashes)[ RSS](/packages/holabs-flashes/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Holabs/Flashes
==============

[](#holabsflashes)

Installation
------------

[](#installation)

**Require:**

- [Holabs/UI](https://github.com/Holabs/UI)
- [Nette/Application](https://github.com/nette/application)
- [Nette/HTTP](https://github.com/nette/http)
- [Nette/Utils](https://github.com/nette/utils)

```
composer require holabs/flashes
```

Configuration
-------------

[](#configuration)

```
extensions:
	flashes: Holabs\Flashes\Bridges\Nette\FlashesExtension
```

Using
-----

[](#using)

`BasePresenter` class:

```
use Nette\Application\UI\Presenter;
use Holabs\Flashes\Message;
use Holabs\Flashes\UI\IFactory;
use Holabs\Flashes\UI\Control;

class BasePresenter extends Presenter {

	use TFlasher; // Inject flash factory

	/** @var IFactory @inject */
	public $flashesControlFactory; // Optional

	public function actionDefault(){
	    $this->flashMessage('Hello world!', Message::$INFO);
	    $this->flashMessage('Hello world with link!', Message::$INFO)
	    	->setLink($this->link('link'), 'Nice link');
	}

	// Optional component

	/**
	 * @return Control
	 */
	protected function createComponentFlashes(){
		$control = $this->flashesControlFactory->create($this);
		// $control->setTemplateFile('path/to/your/latte')
		return $control;
	}

	// ...

}
```

`@layout.latte` file:

```
	{* ... *}

	{* Standard render *}

    	{$message->getMessage()}.
    	{$message->getLink()->text}

    {* OR control *}
	{control flashes}

	{* ... *}
```

###  Health Score

26

—

LowBetter than 43% 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 ~260 days

Total

2

Last Release

3096d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/045423c294f704cbab5e17d28681e83ac6b920a05498424fc64359c3d0cd1928?d=identicon)[holantomas](/maintainers/holantomas)

---

Top Contributors

[![holantomas](https://avatars.githubusercontent.com/u/5030499?v=4)](https://github.com/holantomas "holantomas (2 commits)")

### Embed Badge

![Health badge](/badges/holabs-flashes/health.svg)

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

###  Alternatives

[nette/nette

👪 Nette Framework - innovative framework for fast and easy development of secured web applications in PHP (metapackage)

1.6k2.8M335](/packages/nette-nette)[nette/web-project

Nette: Standard Web Project

10991.8k](/packages/nette-web-project)[nasext/dependent-select-box

Dependent Select Box for Nette Framework.

21262.8k2](/packages/nasext-dependent-select-box)[adamstipak/nette-rest-route

Rest route for Nette Framework

67150.8k](/packages/adamstipak-nette-rest-route)

PHPackages © 2026

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