Skip to content

v2.0.0 — Modern PHP Client

Choose a tag to compare

@drdmitry drdmitry released this 21 Feb 15:16
· 1 commit to main since this release

What's new in v2.0.0

Complete rewrite of the PHP client library.

  • Sync & async support via Guzzle with promise-based async operations
  • Full type hints — PHP 8.0+ with strict typing throughout
  • Retry logic — configurable retries with exponential backoff
  • Progress callbacks — onUploadProgress, onDownloadProgress, onConversionProgress
  • Streaming downloads — downloadStream() and downloadStreamAsync() for large files
  • PSR-7 compatibility — accepts StreamInterface for uploads
  • Configurable — baseUrl, timeout, retries, pollingInterval, webhookUrl, userAgent
  • 111 unit tests covering all public API surface

Requirements

  • PHP 8.0+
  • Guzzle 7+

Installation

composer require conversiontools/conversiontools-php:^2.0