Skip to content

slaughter550/intercom-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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' => '[email protected]'
]);