2017 © Pedro Peláez
 

wordpress-plugin dm-twilio

DM Twilio Notifications

image

deliciousmedia/dm-twilio

DM Twilio Notifications

  • Wednesday, February 14, 2018
  • by davepullig
  • Repository
  • 2 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

DM Twilio

WordPress plugin to send SMS via Twilio and track message delivery within WordPress., (*1)

This plugin is designed for developers and doesn't provide any "out of the box" functionality for end-users., (*2)

Installation

The best way to install this plugin is via Composer composer require deliciousmedia/dm-twilio. You could also download it directly, but you'll need to manually include the Twilio PHP SDK., (*3)

Once activated, you'll be prompted to fill in your Twilio account SID and token. You'll then be able to choose an outbound number from the available SMS enabled numbers in your Twilio account., (*4)

Usage

Message data is stored in the dmtwilio_message custom post type, and status tracked via the dmtwilio_message_status taxonomy allowing you to access the information via existing WordPress functionality if desired., (*5)

Send a message with dmtwilio_send_message($to_number, $message); this function returns the Twilio message SID which can then be used to track the message status with dmtwilio_get_message_status($sid);., (*6)

Development

You can set the DMTWILIO_CALLBACK_ENDPOINT constant to override the Twilio callback URL for local development via a service such as ngrok., (*7)

The dmtwilio_message custom post type is hidden by default, but you can expose it be either setting DM_ENVIRONMENT to "DEV" or by overwriting the pluggable dm_is_dev function to return true in your development environment., (*8)

Todo

  • Housekeeping functions to remove old messages.
  • Better handling of missing Twilio SDK.
  • Option to remove all data on uninstall.
  • Validate number before sending.

Built by the team at Delicious Media, a specialist WordPress development agency based in Sheffield, UK., (*9)

The Versions

14/02 2018

dev-master

9999999-dev https://github.com/DeliciousMedia/DM-Twilio

DM Twilio Notifications

  Sources   Download

GPL-3.0-or-later

The Requires

 

plugin wordpress sms twilio

14/02 2018

1.0.2

1.0.2.0 https://github.com/DeliciousMedia/DM-Twilio

DM Twilio Notifications

  Sources   Download

GPL-3.0-or-later

The Requires

 

plugin wordpress sms twilio

14/02 2018

dev-develop

dev-develop https://github.com/DeliciousMedia/DM-Twilio

DM Twilio Notifications

  Sources   Download

GPL-3.0-or-later

The Requires

 

plugin wordpress sms twilio

03/02 2018

1.0.1

1.0.1.0 https://github.com/DeliciousMedia/DM-Twilio

DM Twilio Notifications

  Sources   Download

GPL-3.0-or-later

The Requires

 

plugin wordpress sms twilio

02/02 2018

1.0.0

1.0.0.0 https://github.com/DeliciousMedia/DM-Twilio

DM Twilio Notifications

  Sources   Download

GPL-3.0-or-later

The Requires

 

plugin wordpress sms twilio