jorisvanw / intercom-laravel
Laravel Intercom PHP wrapper
4.0.3
2019-03-04 16:44 UTC
Requires
- php: >= 7.1
- intercom/intercom-php: 4.*
README
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' ]);