Skip to content

Instantly share code, notes, and snippets.

@shikhirsingh
Last active December 5, 2017 00:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shikhirsingh/b9897cb18bcb102a090c044704959152 to your computer and use it in GitHub Desktop.
Save shikhirsingh/b9897cb18bcb102a090c044704959152 to your computer and use it in GitHub Desktop.
Docker - Telesign PHP Hello World
docker run --rm --name=composer -v $(pwd):/www matriphe/alpine-composer:latest composer require telesign/telesign
wget https://raw.githubusercontent.com/TeleSign/php_telesign/master/examples/messaging/1_send_message.php
# Edit the file for api keys
docker run -d -p 80:80 --name my-apache-php-app -v "$PWD":/var/www/html php:7.0-apache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment