Skip to content
Flash messages handler for Nette Framework (2.4+)
Branch: master
Clone or download
akadlec Merge pull request #6 from MartinSzollos2016/master
Update translation docs, more tests for message with parameters
Latest commit c12a4af Apr 11, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs/en Add more tests for message translation with parameters. Apr 9, 2019
src/IPub/FlashMessages Remove unnused Apr 9, 2019
.scrutinizer.yml - Updating test configuration Jan 14, 2018
composer.json - Fixed license Mar 1, 2015

Flash Messages

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 and repository

You can’t perform that action at this time.