Registry / networking / twilio-sdk

twilio-sdk

JSON →
library8.11.0phppackagistunverified

A PHP wrapper for Twilio's API.

composer require twilio/sdk
INSTALL
IMPORT
SIG · TWILIO-SDK
T
twilio-sdk
networkingphpv8.11.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use Twilio\Rest\Client;

Send an SMS message via Twilio.

use Twilio\Rest\Client; $client = new Client($accountSid, $authToken); $message = $client->messages->create('+1234567890', [ 'from' => '+0987654321', 'body' => 'Hello from Twilio!' ]);
Debug
Known issues
breakingBreaking changes in v8.0: removed Twilio\Rest\Client constructor without version parameter.
fix
Update to use new constructor signature: new Client($sid, $token, $accountSid).
affects: >=8.0.0
Upgrade
Version history
8.11.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
20
Resources
twilio-sdk — pip install twilio-sdk · libregistry