devtechxm / intercomsdk
Library for intercom client with error handling
Installs: 256
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
pkg:composer/devtechxm/intercomsdk
Requires
- intercom/intercom-php: ^3.0
This package is not auto-updated.
Last update: 2025-10-02 12:15:38 UTC
README
Requires intercom-php v3.0.0
Using Composer:
The recommended way to install intercomsdk is through Composer:
First, install Composer:
$ curl -sS https://getcomposer.org/installer | php
Next, install the latest intercomsdk:
$ php composer.phar require devtechxm/intercomsdk
Finally, you can include the files in your PHP script:
require "vendor/autoload.php";
Clients
use Intercom\Api; $intercom = new Api(appId, apiKey);
Users
// Get a user try { $client = $intercom->client; //same as intercom-php sdk $response = $client->users->getUsers(["email" => "nouser@intercom.io"]); } catch (Exception $e) { $response = $intercom->parseExceptionError($e); } echo '<pre>'; print_r($response);
For More details visit intercom reference