https://github.com/mimmi20/laminasviewrenderer-flash-message
https://github.com/mimmi20/laminasviewrenderer-flash-message
flash-messages laminas laminas-view php83
Last synced: 6 months 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 2 years ago)
- Default Branch: master
- Last Pushed: 2025-04-07T11:53:19.000Z (6 months ago)
- Last Synced: 2025-04-07T12:28:48.630Z (6 months ago)
- Topics: flash-messages, laminas, laminas-view, php83
- Language: PHP
- Homepage:
- Size: 477 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# laminasviewrenderer-flash-message
[](https://packagist.org/packages/mimmi20/laminasviewrenderer-flash-message)
[](https://packagist.org/packages/mimmi20/laminasviewrenderer-flash-message)
[](https://packagist.org/packages/mimmi20/laminasviewrenderer-flash-message)## Code Status
[](https://codecov.io/gh/mimmi20/laminasviewrenderer-flash-message)
[](https://codeclimate.com/github/mimmi20/laminasviewrenderer-flash-message/test_coverage)
[](https://isitmaintained.com/project/mimmi20/laminasviewrenderer-flash-message "Average time to resolve an issue")
[](https://isitmaintained.com/project/mimmi20/laminasviewrenderer-flash-message "Percentage of issues still open")
[](https://dashboard.stryker-mutator.io/reports/github.com/mimmi20/laminasviewrenderer-flash-message/master)
[](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).