mimmi20/laminasviewrenderer-flash-message

1.0.7 2024-09-11 04:44 UTC

This package is auto-updated.

Last update: 2024-11-07 03:12:46 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.