bgallagher/bgintercom
Composer 安装命令:
composer require bgallagher/bgintercom
包简介
A ZF2 module for integrating with intercom.io
关键字:
README 文档
README
A ZF2 module to intergrate with intercom.io
##Requires:
##Instalation & Setup (using composer):
- Run
composer.phar require bgallagher/bgintercom:dev-master. - Add
BgIntercomto yourapplication.config.php. - Copy the distributed config file from
vendor/bgallagher/BgIntercom/config/BgIntercom.config.php.disttoconfig/autoload/BgIntercom.config.phpand fill in yourapp_id. - echo the view helper in your layout
<?= $this->intercom() ?>
##NOTE:
Intercom.io requires a created_at field, however ZfcUser does not support this out of the box.
To overcome this, this module will:
- Check for a getter method for created_at (default: getCreatedAt()) on the User object. If found (assumes a DateTime object is returned) it will send this as the created_at timestamp. This obviously assumes that you have extended the ZfcUser User entity.
- Fallback to a default create_at datetime if the method is not found.
Both the getter method name & fallback date are configurable - see BgIntercom.config.php.dist.
Get in touch and/or PR if this doesn't meet your needs.
统计信息
- 总下载量: 73
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-02-15