jnjxp/molniya

Simple middleware and helper for flash messages

0.6.0 2019-07-17 19:53 UTC

This package is auto-updated.

Last update: 2020-01-17 20:46:31 UTC


README

Middleware to make Zend\Expressive\Flash messages available in Zend\Expressive\Template

Latest version Build Status Coverage Status Quality Score

Installation

composer require jnjxp/molniya

Usage

Add Jnjxp\Molniya\MessageMiddleware to your pipeline after the session and flash middleware.

Output $messages in your view script. e.g. <?= $messages ?? ''; ?>