Download the PHP package deliciousmedia/dm-twilio without Composer

On this page you can find all versions of the php package deliciousmedia/dm-twilio. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?
deliciousmedia/dm-twilio
Rate from 1 - 5
Rated 5.00 based on 1 reviews

Informations about the package dm-twilio

DM Twilio

WordPress plugin to send SMS via Twilio and track message delivery within WordPress.

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

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.

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.

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.

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);.

Development

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

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.

Todo


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


All versions of dm-twilio with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
composer/installers Version v1.0.6
twilio/sdk Version >=5.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package deliciousmedia/dm-twilio contains the following files

Loading the files please wait ....