Introduction
This is a major application update. Plivo recommends you always use the latest or an active version of our SDKs for guaranteed security, stability, and uptime. The active SDK versions are designed to handle intermittent and regional failures of API requests. In addition, they offer a host of security features, such as protection against DoS attacks and bot detection for suspicious user agents.Migrate your applications
PHP version support
The 4.x version of the Plivo SDK is compatible with PHP versions 7.3 and higher. Use the commandcomposer require plivo/plivo-php:4.25.0 to upgrade to the active version of the SDK, or composer require plivo/plivo-php to upgrade to the latest version.
After you upgrade to the latest version of the SDK, you should check every program that depends on it and make changes to the syntax for several kinds of operations. Here are examples of how coding differs between the deprecated legacy version of the SDK and the latest active versions.
Import the SDK
| Legacy | Latest |
Initialize
| Legacy | Latest |
Access resources
| Legacy | Latest |
Send a message
| Legacy | Latest |
Retrieve a message
| Legacy | Latest |
List all messages
| Legacy | Latest |