| Recommend this page to a friend! |
| Info | Documentation | Reputation | Support forum | Blog | Links |
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not yet rated by the users | Total: 45 | All time: 10,816 This week: 455 | ||||
| Version | License | PHP version | Categories | |||
| intercom 1.0 | Custom (specified... | 5 | PHP 5, Web services |
| Description | Author | ||||||||||||||||||||||
This package can be used as wrapper to access the Intercom API. |
| ||||||||||||||||||||||
Wrapper on the Intercom class provided by Intercom - with support for Laravel 5.x
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,
Change your default settings in app/config/intercom.php:
<?php
return [
'access_token' => env('INTERCOM_ACCESS_TOKEN', ''),
];
use Intercom;
$users = Intercom::users()->getUsers([]);
$leads = Intercom::leads()->getLeads([]);
| File | Role | Description | ||
|---|---|---|---|---|
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Lic. | License text | |||
| Data | Auxiliary data | |||
| Doc. | Read me | |||
| / | src |
| File | Role | Description | ||
|---|---|---|---|---|
| |
Class | Class source | ||
| |
Class | Class source | ||
| / | tests |
| File | Role | Description |
|---|---|---|
| |
Aux. | Auxiliary script |
| |
Class | Class source |
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% |
|
|
| Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.