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

Flash messages handler for Nette Framework

v3.0.2 2019-05-24 18:31 UTC

This package is auto-updated.

Last update: 2020-03-24 20:53:59 UTC


Build Status Scrutinizer Code Coverage Scrutinizer Code Quality Latest Stable Version Composer Downloads License

Flash messages handler for Nette Framework

This extension replace default flash messages handling. If you want to use one interface for displaying messages, use this extension. For eg. if you are showing messages in modal windows, but sometimes this windows are deactivated, you can reach it with this extension. It store messages in one place and check if were displayed or not.


The best way to install ipub/flash-messages is using Composer:

$ composer require ipub/flash-messages

After that you have to register extension in config.neon.

    flashMessages: IPub\FlashMessages\DI\FlashMessagesExtension

Package contains trait, which you will have to use in presenters or components to implement Flash messages component factory.


class BasePresenter extends Nette\Application\UI\Presenter
    use IPub\FlashMessages\TFlashMessages;

    // ...


Learn how to use flash messages in different way in documentation.

Homepage https://www.ipublikuj.eu and repository http://github.com/iPublikuj/flash-messages.