PHP Classes

Intercom PHP Class: Wrapper to access the Intercom API

Recommend this page to a friend!
  Info   View files Documentation   View files View files (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 45 This week: 1All time: 10,746 This week: 560Up
Version License PHP version Categories
intercom 1.0Custom (specified...5PHP 5, Web services
Description 

Author

This package can be used as wrapper to access the Intercom API.

It provides a simplified interface to create PHP objects that can call the Intercom API.

The package reads some values from configuration files and calls the PHP Intercom API to create an access token, so it will be used to from the Intercom API class to perform any other calls supported by this API.

Picture of Dariusz
Name: Dariusz <contact>
Classes: 2 packages by
Country: Poland Poland
Age: ???
All time rank: 428598 in Poland Poland
Week rank: 416 Up12 in Poland Poland Up

Documentation

Intercom

Latest Stable Version Donate StyleCI Build Status

Wrapper on the Intercom class provided by Intercom - with support for Laravel 5.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', ''),
];

Example


use Intercom;

$users = Intercom::users()->getUsers([]);

$leads = Intercom::leads()->getLeads([]);

Documentation

Intercom API


  Files folder image Files  
File Role Description
Files folder imageconfig (1 file)
Files folder imagesrc (2 files, 1 directory)
Files folder imagetests (2 files)
Accessible without login Plain text file .styleci.yml Data Auxiliary data
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Read me

  Files folder image Files  /  config  
File Role Description
  Accessible without login Plain text file intercom.php Aux. Auxiliary script

  Files folder image Files  /  src  
File Role Description
Files folder imageFacades (1 file)
  Plain text file IntercomApi.php Class Class source
  Plain text file IntercomServiceProvider.php Class Class source

  Files folder image Files  /  src  /  Facades  
File Role Description
  Plain text file Intercom.php Class Class source

  Files folder image Files  /  tests  
File Role Description
  Accessible without login Plain text file bootstrap.php Aux. Auxiliary script
  Plain text file HelloWorldTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:45
This week:1
All time:10,746
This week:560Up