darkin1/intercom
Intercom
Wrapper on the Intercom class provided by Intercom - with support for Laravel 5.x, 6.x, 7.x, 8.x
Installation
Installation using composer:
composer require darkin1/intercom
And add the service provider in config/app.php:
Darkin1\Intercom\IntercomServiceProvider::class,
And add the facade alias in config/app.php:
'Intercom' => Darkin1\Intercom\Facades\Intercom::class,
Configuration
Change your default settings in app/config/intercom.php:
<?php
return [
'access_token' => env('INTERCOM_ACCESS_TOKEN', '****'),
'api_version' => env('INTERCOM_API_VERSION', '1.1'),
];
Review the official docs to see the list of available intercom api versions
Example
use Intercom;
$users = Intercom::users()->getUsers([]);
$leads = Intercom::leads()->getLeads([]);
Documentation
Related Packages
gentor/intercom
Wrapper on the Intercom class provided by Intercom - with custom methods and sup...
2,017
1
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v3.0.0 | >= 7.3 | ^5.8| | MIT | |
| v2.0.2 | >= 7.1 | ^5.8| | MIT | |
| v2.0.1 | >= 7.1 | ^5.8| | MIT | |
| v2.0.0 | >= 7.1 | 5.8.*| | MIT | |
| v1.0.7 | >= 5.6 | MIT | ||
| v1.0.6 | >= 5.6 | MIT | ||
| v1.0.5 | >= 5.6 | MIT | ||
| v1.0.4 | >=5.4.0 | MIT | ||
| v1.0.3 | >=5.5.9 | MIT | ||
| v1.0.2 | >=5.5.9 | MIT | ||
| v1.0.1 | >=5.5.9 | MIT | ||
| v1.0.0 | >=5.5.9 | MIT |