Download the PHP package translateplus/translateplus-php without Composer
On this page you can find all versions of the php package translateplus/translateplus-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download translateplus/translateplus-php
More information about translateplus/translateplus-php
Files in translateplus/translateplus-php
Package translateplus-php
Short Description Official PHP client library for Translation API - Professional translation service for text, HTML, emails, subtitles, and i18n files
License MIT
Informations about the package translateplus-php
TranslatePlus PHP Client
Official PHP client library for the TranslatePlus API - Professional translation service for text, HTML, emails, subtitles, and i18n files.
Features
- ✅ Full API Support - All endpoints including text, batch, HTML, email, subtitles, and i18n translation
- ✅ Error Handling - Comprehensive exception handling with detailed error messages
- ✅ Retry Logic - Automatic retry with exponential backoff for failed requests
- ✅ Concurrency Control - Built-in support for parallel translations with configurable concurrency limits
- ✅ Type Safety - Full PHPDoc annotations for better IDE support
- ✅ Production Ready - Connection pooling, rate limiting, and robust error handling
Installation
Install via Composer:
Quick Start
API Reference
Client Options
Translation Methods
Translate Text
Batch Translation
Translate HTML
Translate Email
Translate Subtitles
Language Methods
Detect Language
Get Supported Languages
Account Methods
Get Account Summary
i18n Translation Jobs
Create i18n Job
Get Job Status
List Jobs
Error Handling
The client throws specific exceptions for different error types:
Advanced Usage
Concurrent Translations
The client automatically handles concurrency limits. You can configure the maximum concurrent requests:
Custom Timeout and Retries
Requirements
- PHP 7.4 or higher
ext-jsonextensionext-curlextension- Composer
License
MIT License - see LICENSE file for details.
Support
- Documentation: https://docs.translateplus.io
- Issues: GitHub Issues
- Email: [email protected]
Related Libraries
TranslatePlus provides official client libraries for multiple programming languages:
- Python: translateplus-python - Official PyPI package
- JavaScript/TypeScript: translateplus-js - Official npm package
All libraries provide the same comprehensive API support and features.