Sign inSign up

cathalhoran/intercom-php

By cathalhoran

•Updated almost 10 years ago

Intercom PHP dev environment for easy set up and use of API

Image
0

107

cathalhoran/intercom-php repository overview

V1 This is a Docker image that enables you to easily and quickly get set up and working with the Intercom API. It also checkouts an example github repo that contains some example PHP code that you can run. Anyone can push examples to this repo which will allow anyone using the image to have some simple examples that may help them get started more quickly.

Example Repo: https://github.com/intercom/example-php⁠

You can download the image as noted in the box on the right or you can just run it via:

docker run --env PAT="YOU PERSONAL ACCESS TOKEN" -it --rm --name cathalhoran/intercom-php:v1 For example: docker run --env PAT="XXXXXXXXXXXXXXX" -it --rm --name mycontainer cathalhoran/intercom-php:v1

Note that you can use the --env param to set environment variables which are referenced in the example code. You should then be able to run an example file to retrieve a user from your Intercom account using:

php example-php/users/get_user.php "USER_ID"

Tag summary

Content type

Image

Digest

Size

238.4 MB

Last updated

almost 10 years ago

docker pull cathalhoran/intercom-php:v1