slaughter550/intercom-laravel
Laravel 5.x wrapper for Intercom-PHP
15,349
7
| Install | |
|---|---|
composer require slaughter550/intercom-laravel |
|
| Latest Version: | 3.2.0 |
| PHP: | ^7.1 |
| License: | MIT |
| Last Updated: | May 8, 2019 |
| Links: | GitHub · Packagist |
Maintainer: slaughter550
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'
]);