darkin1/intercom
Composer 安装命令:
composer require darkin1/intercom
包简介
Wrapper on the Intercom class provided by Intercom - with support for Laravel 5.x, 6.x, 7.x
README 文档
README
Wrapper on the Intercom class provided by Intercom - with support for Laravel 5.x, 6.x, 7.x, 8.x
Installation
Installation using composer:
composer require darkin1/intercom
And add the service provider in config/app.php:
Darkin1\Intercom\IntercomServiceProvider::class,
And add the facade alias in config/app.php:
'Intercom' => Darkin1\Intercom\Facades\Intercom::class,
Configuration
Change your default settings in app/config/intercom.php:
<?php return [ 'access_token' => env('INTERCOM_ACCESS_TOKEN', '****'), 'api_version' => env('INTERCOM_API_VERSION', '1.1'), ];
Review the official docs to see the list of available intercom api versions
Example
use Intercom; $users = Intercom::users()->getUsers([]); $leads = Intercom::leads()->getLeads([]);
Documentation
统计信息
- 总下载量: 87.75k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 15
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-03-26