slaughter550 / intercom-laravel
Laravel 5.x wrapper for Intercom-PHP
Installs: 15 328
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 2
Forks: 6
Open Issues: 1
Requires
- intercom/intercom-php: 3.2.0
- laravel/framework: >=5.0
README
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' ]);