A PHP wrapper to send messages to Teamwork Chat.
To install the package, simply run:
composer require satellitewp/php-teamwork-chat
That's it! You are ready to use the library.
Inside your PHP file:
require_once __DIR__ . '/vendor/autoload.php';
$webhook = new \SatelliteWP\Teamwork\Chat\Webhook('https://chat-hooks.us.teamwork.com/v1/in/yyyy/xxxxxxxx-2a87-4cb5-93c3-zzzzzzzzzz');
$webhook->sendMessage('It works!');
The configuration was created and is maintained by SatelliteWP.
Released under the MIT License. See the license file for details.