The simplest way to encode video with PHP, just got even simpler
We are pleased to share with you that our PHP library for easy integration of, for instance, video encoding into your app has received a substantial overhaul.
The complete list of bugfixes and improvements is quite long, so we'll summarize some of the most important ones:
- Support for
E_STRICT
mode - Improved documentation
- Improved error handling
- Support for signed
GET
requests - Support for HTTPS
In addition to this, v1.0.0 introduces a few big upgrades that break backwards compatibility:
- Convert to namespaced PHP (PHP 5.3 required)
- Add support for Composer
We owe a great debt of gratitude to Raymond Julin for making this happen.
We have also
submitted the project to Packagist so you can
now include our SDK by just adding these lines to your project's composer.json
:
{
"require": {
"transloadit/php-sdk": "1.*"
}
}
..and run:
wget https://getcomposer.org/composer.phar \
&& php composer.phar install
Pretty cool, right? This will also keep you up to date with any non-backwards-compatibility-breaking-1.0 version that we release. 😄
For people who cannot upgrade (perhaps because they are still on PHP 5.2) the old versions remain available on GitHub. However, with all these goodies, we certainly recommend that you take the 1.0+ plunge!
We hope you will enjoy these changes, but don't hesitate to let us know if you find anything wrong with them.