mimmi20/laminasviewrenderer-flash-message

2.0.0 2024-12-04 12:53 UTC

This package is auto-updated.

Last update: 2024-12-23 04:07:52 UTC


README

Latest Stable Version Latest Unstable Version License

Code Status

codecov Test Coverage Average time to resolve an issue Percentage of issues still open Mutation testing badge Maintainability

Requirements

This library requires PHP 8.1+.

Installation

Run

composer require mimmi20/laminasviewrenderer-flash-message

Required Settings

This Viewhelper renders a template. An alias for this template is used

You have to define a template map for this

  'template_map' => [
    'widget/bootstrap-alert' => __DIR__ . '/../view/widget/bootstrap-alert',
  ],

Inside the Template the variables alertLevel and alertMessage are available.

License

This package is licensed using the MIT License.

Please have a look at LICENSE.md.