stgalkin/ringcentral-webhooks

Simple wrapper for https://ringcentral.com/ using webhooks

0.1.35 2020-03-02 17:44 UTC

This package is auto-updated.

Last update: 2024-10-29 05:41:13 UTC


README

Build Status License: MIT

PHP RingCentral Webhook

Easy to use PHP library to post messages in RingCentral via RingCentral Webhooks

Package Installation - Composer

You can install the package via composer:

composer require stgalkin/ringcentral-webhooks

Usage

Create a Simple Message if you want to sent a message to your channel.

$adapter = new \Stgalkin\RingCentral\RingCentralAdapter(<WEBHOOK_URL>);
$message  = new \Stgalkin\RingCentral\Message\SimpleMessage('Title', 'Message');
$adapter->send($message);

Custom message

Feel free to extends the AbstractMessage or MessageContract and implement you own logic!

Documentation

More examples and documentation you may find here: RingCentral Developers

License

This PHP RingCentral Webhook adapter is open-sourced software licensed under the MIT license