Looking to hire Laravel developers? Try LaraJobs

intercom-laravel maintained by jorisvanw

Description
Laravel Intercom PHP wrapper
Last update
2019/03/04 17:48 (dev-master)
License
Links
Downloads
44
Tags

Comments
comments powered by Disqus

intercom-laravel

Laravel 5.x Wrapper for Intercom API

Installation

Using Composer:

composer require jorisvanw/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'
]);