satellitewp/php-teamwork-chat

A PHP wrapper to send messages to Teamwork Chat

v1.0.0 2023-05-21 21:31 UTC

This package is auto-updated.

Last update: 2024-10-22 00:38:40 UTC


README

A PHP wrapper to send messages to Teamwork Chat.

Installation

To install the package, simply run:

composer require satellitewp/php-teamwork-chat

That's it! You are ready to use the library.

Usage

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!');

Contributors

The configuration was created and is maintained by SatelliteWP.

References

License

Released under the MIT License. See the license file for details.