slaughter550 / intercom-laravel by slaughter550

Laravel 5.x wrapper for Intercom-PHP
15,327
7
2
Package Data
Maintainer Username: slaughter550
Maintainer Contact: alex@alexslaughter.com (Alex Slaughter)
Package Create Date: 2016-05-24
Package Last Update: 2019-05-08
Home Page: https://github.com/intercom/intercom-php
Language: PHP
License: MIT
Last Refreshed: 2024-11-15 15:02:08
Package Statistics
Total Downloads: 15,327
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 7
Total Watchers: 2
Total Forks: 6
Total Open Issues: 1

intercom-laravel

Laravel 5.x Wrapper for Intercom API

Installation

Using Composer:

composer require slaughter550/intercom-laravel

Configuration

config/app.php

'providers' => [
    'Shadow\IntercomLaravel\ServiceProvider',
],
'aliases' => [
    'Intercom' => 'Shadow\IntercomLaravel\Facade',
],

config/services.php

'intercom' => [
    'app_id' => 'appIdGoesHere',
    'api_key' => 'apiKeyGoesHere',
],

Usage

// Create/update a user
Intercom::users()->create([
    'email' => 'test@intercom.io'
]);