tonicforhealth / health-checker-incident-component
健康检查事件组件提供健康检查事件应用程序的类
v0.3.0
2016-11-24 12:26 UTC
Requires
- php: >=5.5
- danielgsims/php-collections: ~1.4
- doctrine/orm: ~2.5
- mtdowling/cron-expression: ~1.1
- php-http/client-common: ~1.0
- php-http/discovery: ~0.6
- php-http/message: ~1.2
- php-http/plugins: ~1.0
- puli/repository: ~1.0
- swiftmailer/swiftmailer: ~5.4
- tonicforhealth/pagerduty-client: ^0.1.0
Requires (Dev)
- guzzlehttp/guzzle: ~5.3|~6.1
- php-http/guzzle6-adapter: ^1.0
- php-http/mock-client: ^0.3
- phpunit/phpunit: ~4.8|~5.3
- puli/cli: ~1.0
- puli/composer-plugin: dev-classmap as 1.0-beta10
Suggests
- guzzlehttp/guzzle: ~5.3|~6.1 for httplug client works
- php-http/guzzle6-adapter: ^1.0 for httplug client works
README
此存储库提供了健康检查事件应用程序的类。这些类用于不同的通知类型,如电子邮件、cachet、文件等。所有这些类都实现了NotificationTypeInterface。此外,您还可以在此处找到Subject类,这是IncidentSiren用于发送通知的点。
需求
- PHP 5.5或更高版本
- ext-pdo
类
类
- TonicHealthCheck\Incident\IncidentEventSubscriber - 用于与事件进行调解的核心类。此类还实现了Doctrine\Common\EventSubscriber接口。
- TonicHealthCheck\Incident\Siren\IncidentSiren - 用于通知主题。
- TonicHealthCheck\Incident\Siren\IncidentSirenCollection - IncidentSiren项的集合
- TonicHealthCheck\Incident\Siren\NotificationType\EmailNotificationType - 实现电子邮件通知。
- TonicHealthCheck\Incident\Siren\NotificationType\FileNotificationType - 实现文件通知
- TonicHealthCheck\Incident\Siren\NotificationType\RequestNotificationType - 实现请求通知
- TonicHealthCheck\Incident\Siren\Subject\Subject - 实现主题,并用作通知的点
- TonicHealthCheck\Incident\Siren\Subject\SubjectCollection - Subject项的集合
接口
- TonicHealthCheck\Incident\IncidentInterface - 通知实体的接口
- TonicHealthCheck\Incident\Siren\Subject\SubjectInterface - 主题的接口
- TonicHealthCheck\Incident\Siren\NotificationType\NotificationTypeInterface - 通知类型的接口
其他
- TonicHealthCheck\CachetHQ\Authentication\Token - cachetHQ认证的类