tonicforhealth / health-checker-incident-component
Health checker incident component provides classes for health checker incident app
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
This repository provides classes for Health checker incident app. These classes are used for different notification types like email, cachet, file, etc. All these classes implement NotificationTypeInterface. Also here you can find Subject class that IncidentSiren uses like a point for sending notifications.
Requirements
- PHP 5.5 or higher
- ext-pdo
Classes
Classes
- TonicHealthCheck\Incident\IncidentEventSubscriber - core class for mediation with incidents. Also this class implements Doctrine\Common\EventSubscriber interface.
- TonicHealthCheck\Incident\Siren\IncidentSiren - for notification subjects.
- TonicHealthCheck\Incident\Siren\IncidentSirenCollection - collection of the IncidentSiren items
- TonicHealthCheck\Incident\Siren\NotificationType\EmailNotificationType - implements email notification.
- TonicHealthCheck\Incident\Siren\NotificationType\FileNotificationType - implements file notification
- TonicHealthCheck\Incident\Siren\NotificationType\RequestNotificationType - implements request notification
- TonicHealthCheck\Incident\Siren\Subject\Subject - implements subjects and is used as a point to notification
- TonicHealthCheck\Incident\Siren\Subject\SubjectCollection - collection of the Subject items
Interfaces
- TonicHealthCheck\Incident\IncidentInterface - interface for notification entity
- TonicHealthCheck\Incident\Siren\Subject\SubjectInterface - interface for subjects
- TonicHealthCheck\Incident\Siren\NotificationType\NotificationTypeInterface - interface for notification types
Other
- TonicHealthCheck\CachetHQ\Authentication\Token - class for cachetHQ authentication