gentor / intercom
Intercom 类的包装器 - 提供自定义方法和 Laravel 5.x 的支持
v1.0.0
2016-09-28 00:02 UTC
Requires
- php: >= 5.6
- intercom/intercom-php: ^3.0
This package is auto-updated.
Last update: 2024-09-09 14:09:04 UTC
README
Intercom 类的包装器 - 提供自定义方法和 Laravel 5.x 的支持
安装
使用 composer 安装
composer require gentor/intercom
在 config/app.php
中添加服务提供者
Gentor\Intercom\IntercomServiceProvider::class,
在 config/app.php
中添加外观别名
Gentor\Intercom\Facades\Intercom::class,
配置
在 app/config/intercom.php
中更改默认设置
<?php return [ 'app_id' => env('INTERCOM_APP_ID', '****'), 'api_key' => env('INTERCOM_API_KEY', '********'), ];