npo / message-alerting-bundle
这是一个用于简化消息警报包使用的symfony扩展包。
1.0
2024-03-14 13:34 UTC
Requires
- php: ^8.3
- npo/message-alerting: ~1.0
- symfony/framework-bundle: ^6.3|^7.0
Requires (Dev)
- dg/bypass-finals: ~v1.6.0
- friendsofphp/php-cs-fixer: ~v3.51.0
- npo/phpunit-extension: ~1.1
- phpstan/phpstan: ~v1.10.60
- phpstan/phpstan-phpunit: ~v1.3.16
- phpunit/phpunit: ~v11.0.4
This package is not auto-updated.
Last update: 2024-09-27 14:23:50 UTC
README
message-alerting-bundle 包含消息警报库的扩展包,并添加了 Factories 到容器中
入门
要使用这些消息警报库,将此扩展包添加到项目的 composer 需求中
composer require npo/message-alerting-bundle
然后在 config/bundles.php 中注册它
declare(strict_types=1);
return [
//... more bundles
NpoMessage\AlertingBundle\MessageAlertingBundle::class => ['all' => true],
];
构建和测试
不需要构建,但为了开发目的提供了一个 Dockerfile。通过运行 phpunit 来进行测试。
贡献
当更新此包时,运行 checkup 检查是否符合编码风格,并且是否有足够的测试覆盖率。
composer run checkup