This package is abandoned and no longer maintained. No replacement package was suggested.

Flash message component for Nette

Installs: 2 916

Dependents: 0

Suggesters: 0

Stars: 3

Watchers: 1

Forks: 3

Open Issues: 0

v4.0.1 2015-03-12 09:36 UTC


Build Status Quality Score Code Coverage Downloads this Month Latest stable

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


Via Composer:

$ composer require zenify/flash-message-component

And register extension in config.neon:

    - Zenify\FlashMessageComponent\DI\FlashMessageExtension


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}