zendframework / zend-mvc-plugin-flashmessenger
Plugin for creating and exposing flash messages via zend-mvc controllers
Installs: 1 404 331
Dependents: 32
Suggesters: 3
Security: 0
Stars: 9
Watchers: 19
Forks: 8
Open Issues: 4
Requires
- php: ^5.6 || ^7.0
- zendframework/zend-mvc: ^3.0
- zendframework/zend-session: ^2.8.5
- zendframework/zend-stdlib: ^3.2.1
- zendframework/zend-view: ^2.10
Requires (Dev)
- phpunit/phpunit: ^5.7.27 || ^6.5.8 || ^7.1.4
- zendframework/zend-coding-standard: ~1.0.0
- zendframework/zend-i18n: ^2.8
Conflicts
- zendframework/zend-mvc: <3.0.0
This package is auto-updated.
Last update: 2020-01-28 20:08:41 UTC
README
Repository abandoned 2019-12-31
This repository has moved to laminas/laminas-mvc-plugin-flashmessenger.
Flash messages derive from Rails,
and are used to expose messages from one action to the next, after which they
are cleared; a typical use case is with
Post/Redirect/Get, where
they are created in the POST
handler, and then displayed by the GET
handler
to indicate success or failure to the end-user.
This component provides a flash messenger controller plugin for zend-mvc versions 3.0 and up.
Installation
Run the following to install this library:
$ composer require zendframework/zend-mvc-plugin-flashmessenger
If you are using the zend-component-installer, you're done!
If not, you will need to add the component as a module to your
application. Add the entry 'Zend\Mvc\Plugin\FlashMessenger'
to
your list of modules in your application configuration (typically
one of config/application.config.php
or config/modules.config.php
).
Documentation
Browse the documentation online at https://docs.zendframework.com/zend-mvc-plugin-flashmessenger/