dev-master
9999999-devA ZF2 module for integrating with intercom.io
MIT
The Requires
zf2 intercom
A ZF2 module for integrating with intercom.io
A ZF2 module to intergrate with intercom.io, (*1)
composer.phar require bgallagher/bgintercom:dev-master
.BgIntercom
to your application.config.php
.vendor/bgallagher/BgIntercom/config/BgIntercom.config.php.dist
to config/autoload/BgIntercom.config.php
and fill in your app_id
.<?= $this->intercom() ?>
Intercom.io requires a created_at
field, however ZfcUser does not support this out of the box., (*2)
To overcome this, this module will: 1. 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. 2. Fallback to a default create_at datetime if the method is not found., (*3)
Both the getter method name & fallback date are configurable - see BgIntercom.config.php.dist., (*4)
Get in touch and/or PR if this doesn't meet your needs., (*5)
A ZF2 module for integrating with intercom.io
MIT
zf2 intercom