api.video is proud to announce a brand new PHP client for our video API. Our old PHP SDK will be deprecated. You can continue to use it, but it will no longer be updated. Instead, the new PHP client will stay up-to-date with all our new feature releases.
Like our other clients, it's autogenerated and handles authentication for you, including refreshing your access token when needed. It also handles paginated responses and chunked uploads for large files. A unique aspect of this client is that it is also PSR-18 compliant. This makes it more reusable as it reduces the number of dependencies and lowers the likelihood of version conflicts.
You can install our new client with:
composer require api-video/php-api-client
And the entire client is available in the GitHub repository here: https://github.com/apivideo/php-api-client
In addition to the documentation we have at docs.api.video, you can find client-specific documentation in the GitHub repository. If you are looking up parameters, we recommend that you refer to the content provided in the client respository first. Some information may be tweaked to make it easier to create and use the client. There's a docs page for each part of the API here: https://github.com/apivideo/php-api-client/tree/main/docs/Api
PHP is fast, flexible and widely used in web applications. We hope you'll enjoy using our new client to code your video projects!