Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ipublikuj-archive/flash-messages
Flash messages handler for Nette Framework (2.4+)
https://github.com/ipublikuj-archive/flash-messages
flash-messages ipub ipublikuj nette nette-extension nette-framework php php7 php71 php72 ui-messages
Last synced: about 1 month ago
JSON representation
Flash messages handler for Nette Framework (2.4+)
- Host: GitHub
- URL: https://github.com/ipublikuj-archive/flash-messages
- Owner: ipublikuj-archive
- License: other
- Archived: true
- Created: 2015-02-05T23:14:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-05-24T18:32:52.000Z (over 5 years ago)
- Last Synced: 2024-09-23T20:03:27.129Z (about 1 month ago)
- Topics: flash-messages, ipub, ipublikuj, nette, nette-extension, nette-framework, php, php7, php71, php72, ui-messages
- Language: PHP
- Homepage:
- Size: 117 KB
- Stars: 9
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# Flash Messages
[![Build Status](https://img.shields.io/travis/ipublikuj-ui/flash-messages.svg?style=flat-square)](https://travis-ci.org/ipublikuj-ui/flash-messages)
[![Scrutinizer Code Coverage](https://img.shields.io/scrutinizer/coverage/g/ipublikuj-ui/flash-messages.svg?style=flat-square)](https://scrutinizer-ci.com/g/ipublikuj-ui/flash-messages/?branch=master)
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/ipublikuj-ui/flash-messages.svg?style=flat-square)](https://scrutinizer-ci.com/g/ipublikuj-ui/flash-messages/?branch=master)
[![Latest Stable Version](https://img.shields.io/packagist/v/ipub/flash-messages.svg?style=flat-square)](https://packagist.org/packages/ipub/flash-messages)
[![Composer Downloads](https://img.shields.io/packagist/dt/ipub/flash-messages.svg?style=flat-square)](https://packagist.org/packages/ipub/flash-messages)
[![License](https://img.shields.io/packagist/l/ipub/flash-messages.svg?style=flat-square)](https://packagist.org/packages/ipub/flash-messages)Flash messages handler for [Nette Framework](http://nette.org/)
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.
## Installation
The best way to install ipub/flash-messages is using [Composer](http://getcomposer.org/):
```sh
$ composer require ipub/flash-messages
```After that you have to register extension in config.neon.
```neon
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.
```php