tompedals / helpscout-intercom-app
适用于Intercom的Help Scout动态应用程序
0.1.0
2016-09-29 15:57 UTC
Requires
- php: >=5.6
- intercom/intercom-php: ^3.0
- symfony/framework-bundle: ^3.1
- tompedals/helpscout-dynamic-app: ^0.2
Requires (Dev)
- mockery/mockery: ^0.9
- phpunit/phpunit: ^5.5
This package is auto-updated.
Last update: 2024-09-20 04:15:26 UTC
README
安装
创建或打开您的Help Scout应用程序项目。此应用程序是为与tompedals/helpscout-dynamic-app-symfony基本项目一起使用而开发的。
然后,可以通过Composer作为tompedals/helpscout-intercom-app进行安装。
composer require tompedals/helpscout-intercom-app
将包添加到内核
new TomPedals\HelpScoutApp\Intercom\IntercomAppBundle()
添加包路由
intercom_app:
resource: '@IntercomAppBundle/Resources/config/routing.yml'
prefix: /intercom
配置包
intercom_app:
app_id: '%intercom_app_id%'
api_key: '%intercom_api_key%'
现在应用程序将在 https://yourdomain.com/intercom/
上可用
配置
包配置允许启用/禁用每个属性。默认情况下,所有属性(除用户电子邮件外)均启用。
intercom_app:
user_id: true
email: true
name: true
signed_up_at: true
last_request_at: true
session_count: true
unsubscribed_from_emails: true
user_agent_data: true
location: true
social_profiles: true
custom_attributes:
- custom_one
- custom_two
- custom_three
company:
company_id: true
plan: true
monthly_spend: true
session_count: true
user_count: true
custom_attributes:
- company_custom_one
- company_custom_two
- company_custom_three
要更好地了解这些属性是什么,请参阅Intercom API 文档中的用户和公司模型。