Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mimmi20/laminasviewrenderer-flash-message
https://github.com/mimmi20/laminasviewrenderer-flash-message
flash-messages laminas laminas-view php81
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/mimmi20/laminasviewrenderer-flash-message
- Owner: mimmi20
- License: mit
- Created: 2023-06-16T14:53:37.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-09-25T16:59:48.000Z (about 2 months ago)
- Last Synced: 2024-09-29T20:03:39.565Z (about 2 months ago)
- Topics: flash-messages, laminas, laminas-view, php81
- Language: PHP
- Homepage:
- Size: 255 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# laminasviewrenderer-flash-message
[![Latest Stable Version](https://poser.pugx.org/mimmi20/laminasviewrenderer-flash-message/v/stable?format=flat-square)](https://packagist.org/packages/mimmi20/laminasviewrenderer-flash-message)
[![Latest Unstable Version](https://poser.pugx.org/mimmi20/laminasviewrenderer-flash-message/v/unstable?format=flat-square)](https://packagist.org/packages/mimmi20/laminasviewrenderer-flash-message)
[![License](https://poser.pugx.org/mimmi20/laminasviewrenderer-flash-message/license?format=flat-square)](https://packagist.org/packages/mimmi20/laminasviewrenderer-flash-message)## Code Status
[![codecov](https://codecov.io/gh/mimmi20/laminasviewrenderer-flash-message/branch/master/graph/badge.svg)](https://codecov.io/gh/mimmi20/laminasviewrenderer-flash-message)
[![Test Coverage](https://api.codeclimate.com/v1/badges/183a15bf96b4420c3821/test_coverage)](https://codeclimate.com/github/mimmi20/laminasviewrenderer-flash-message/test_coverage)
[![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/mimmi20/laminasviewrenderer-flash-message.svg)](https://isitmaintained.com/project/mimmi20/laminasviewrenderer-flash-message "Average time to resolve an issue")
[![Percentage of issues still open](https://isitmaintained.com/badge/open/mimmi20/laminasviewrenderer-flash-message.svg)](https://isitmaintained.com/project/mimmi20/laminasviewrenderer-flash-message "Percentage of issues still open")
[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fmimmi20%2Flaminasviewrenderer-flash-message%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/mimmi20/laminasviewrenderer-flash-message/master)
[![Maintainability](https://api.codeclimate.com/v1/badges/183a15bf96b4420c3821/maintainability)](https://codeclimate.com/github/mimmi20/laminasviewrenderer-flash-message/maintainability)## Requirements
This library requires PHP 8.1+.
## Installation
Run
```shell
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
```php
'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`](LICENSE.md).