Plugin for creating and exposing flash messages via laminas-mvc controllers

1.3.0 2021-04-13 16:30 UTC

This package is auto-updated.

Last update: 2021-10-13 17:49:17 UTC


Build Status

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 laminas-mvc versions 3.0 and up.


Run the following to install this library:

$ composer require laminas/laminas-mvc-plugin-flashmessenger

If you are using the laminas-component-installer, you're done!

If not, you will need to add the component as a module to your application. Add the entry 'Laminas\Mvc\Plugin\FlashMessenger' to your list of modules in your application configuration (typically one of config/application.config.php or config/modules.config.php).


Browse the documentation online at