thing-broken / thing-broken
A library for integrating with the Thing Broken API
Installs: 7 629
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=7.0
- ext-json: *
- guzzlehttp/guzzle: ^6.3
README
About
Thing Broken is a PHP (only, for now) library for tracking success criteria. It "plugs in" to our web control panel here.
A task can fail in such a way that produces no errors - so by tracking your success criteria, you can ensure a job is running correctly and be notified when it's not.
Requirements
- PHP 7.0+
- json extension
Installation
Install our library using composer.
composer require thing-broken/thing-broken
Usage
// Initialise the client only once \ThingBroken\ThingBroken\Client::init('64OjsTJXScxN5xNzEI2QFr3vtLLL6fK9xjBhBxqv9gsdskX6'); // Get an instance of the client $client = \ThingBroken\ThingBroken\Client::getInstance(); // Fire off an event $client->fire('Account Created');