sitemavens / intercom-php
Intercom PHP is library to connect Intercom APi
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/sitemavens/intercom-php
Requires
- php: >=5.4.0
- guzzlehttp/guzzle: 4.2.*
This package is not auto-updated.
Last update: 2025-12-30 09:55:19 UTC
README
This is a very simple implementation of the Intercom Api.
Installing via Composer
The recommended way to install the library is through Composer.
{ "require": { "sitemavens/intercom-php": "dev-master" } }
How you use it
\IntercomPhp\Config::init( 'your_app_id', 'your_api_key' ); $user = new \IntercomPhp\Domain\User(); $user->setName( 'Pepe Florez' ); $user->setEmail( 'pepe@florez.com' ); $user->setId( 1234 ); $user->setRemoteCreatedAt( time() ); // You should set this prop to "true" if you are tracking when a user logs in $user->setNewSession(true); $users = new \IntercomPhp\Users(); $result = $users->addUser( $user );