Introducing Plivo PHP SDK 4.0 (Beta)

EDIT: The PHP SDK is now out of Beta. Please refer to the GA release blogpost to know more.


We are excited to announce the public beta of the Plivo PHP SDK 4.0, the next version of our PHP helper. This announcement is the fourth of several announcements we will make over the next couple of weeks regarding our next version of helpers. So far, we released the Plivo Python SDK 4.0 (Beta), the Plivo Ruby SDK 4.0 (Beta) and the Plivo Node.js SDK 4.0 (Beta).

Note that all the new features would only be added to this version going forward. The existing PHP helper, 1.1.x, (now called the legacy version) will receive only the critical bug fixes and security patches.

What’s new

  1. The new SDK works with PHP 5.5+ and 7.0+. It has been tested against the versions 5.5, 5.6, 7.0, 7.1 and the nightly version
  2. The API interfaces are consistent and guessable
  3. The new SDK has excellent IDE support (including but not limited to Atom, Vim and Sublime Text) without the need to juggle between documentation and code

Get started

  1. Get started with the PHP SDK on Plivo Developers Portal
  2. See more examples of how you can use this SDK at Plivo API Reference for the latest PHP SDK
  3. Check out our guide on how to set up the dev environment and start serving Plivo XML in under 5 minutes.
  4. Report any feedback or problems with this beta version by opening an issue on Github.
  5. You can view the codebase for this version at https://github.com/plivo/plivo-php/tree/4.0.

Why a v4.0 after v1.1.7

There are a couple of reasons for this. One being, our helpers have been updated independently earlier with several major releases (for example, Java), while a few helpers were still in 0.x (for example Python). Since we are rewriting all the SDKs from scratch, we wanted to give a common version to all of them this time. The second reason being, the new SDK is released after a long gap since the initial 0.x release and is significantly different in terms of features and performance - so a v4 made sense for this release.

We recommend you use the new version of the helper as this is the only version where the new features will be added going forward. Report any feedback or problems with this beta version by opening an issue on Github.

comments powered by Disqus