Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 45 | All time: 10,795 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([]);
Files (12) |
File | Role | Description | ||
---|---|---|---|---|
config (1 file) | ||||
src (2 files, 1 directory) | ||||
tests (2 files) | ||||
.styleci.yml | Data | Auxiliary data | ||
.travis.yml | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
phpunit.xml | Data | Auxiliary data | ||
README.md | Doc. | Read me |
Files (12) | / | src |
File | Role | Description | ||
---|---|---|---|---|
Facades (1 file) | ||||
IntercomApi.php | Class | Class source | ||
IntercomServiceProvider.php | Class | Class source |
Files (12) | / | tests |
File | Role | Description |
---|---|---|
bootstrap.php | Aux. | Auxiliary script |
HelloWorldTest.php | 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. |
Install with Composer |
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.