2017 © Pedro Peláez
 

library flash-messages

Flash messages handler for Nette Framework

image

vymak/flash-messages

Flash messages handler for Nette Framework

  • Tuesday, January 9, 2018
  • by vymak
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

Flash Messages

Build Status Scrutinizer Code Coverage Scrutinizer Code Quality Latest Stable Version Composer Downloads License Dependency Status, (*1)

Flash messages handler for Nette Framework, (*2)

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., (*3)

Installation

The best way to install ipub/flash-messages is using Composer:, (*4)

$ composer require ipub/flash-messages

After that you have to register extension in config.neon., (*5)

extensions:
    flashMessages: IPub\FlashMessages\DI\FlashMessagesExtension

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

<?php

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

    // ...
}

Documentation

Learn how to use flash messages in different way in documentation., (*7)


Homepage http://www.ipublikuj.eu and repository http://github.com/iPublikuj/flash-messages., (*8)

The Versions