mimmi20 / laminasviewrenderer-flash-message
Flash-Viewhelper
1.0.7
2024-09-11 04:44 UTC
Requires
- php: ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0
- laminas/laminas-mvc: ^3.7.0
- laminas/laminas-mvc-plugin-flashmessenger: ^1.10.1
- laminas/laminas-view: ^2.35.0
- psr/container: ^1.1.2
Requires (Dev)
- ext-ctype: *
- ext-dom: *
- ext-simplexml: *
- ext-tokenizer: *
- ext-xml: *
- ext-xmlwriter: *
- infection/infection: ^0.27.11 || ^0.28.1 || ^0.29.0
- laminas/laminas-modulemanager: ^2.16.0
- laminas/laminas-servicemanager: ^3.22.1
- mimmi20/coding-standard: ^5.2.43
- nikic/php-parser: ^4.19.1 || ^5.0.2
- phpstan/extension-installer: ^1.4.3
- phpstan/phpstan: ^1.12.3
- phpstan/phpstan-deprecation-rules: ^1.2.0
- phpstan/phpstan-phpunit: ^1.4.0
- phpunit/phpunit: ^10.5.24
- rector/rector: ^1.2.5
- rector/type-perfect: ^0.2.0
- symplify/phpstan-rules: ^13.0.1
- tomasvotruba/cognitive-complexity: ^0.2.3
- tomasvotruba/type-coverage: ^0.3.1
- tomasvotruba/unused-public: ^0.3.11
Suggests
- laminas/laminas-modulemanager: to register this project as module
- laminas/laminas-servicemanager: to use the navigation factories
This package is auto-updated.
Last update: 2024-09-18 05:29:11 UTC
README
代码状态
要求
此库需要PHP 8.1及以上版本。
安装
运行
composer require mimmi20/laminasviewrenderer-flash-message
所需设置
此Viewhelper渲染一个模板。使用该模板的别名
您需要为它定义一个模板映射
'template_map' => [ 'widget/bootstrap-alert' => __DIR__ . '/../view/widget/bootstrap-alert', ],
在模板内部,变量alertLevel
和alertMessage
可用。
许可证
本软件包使用MIT许可证授权。
请参阅LICENSE.md
。