Download the PHP package usepolylingo/polylingo without Composer
On this page you can find all versions of the php package usepolylingo/polylingo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download usepolylingo/polylingo
More information about usepolylingo/polylingo
Files in usepolylingo/polylingo
Download usepolylingo/polylingo
More information about usepolylingo/polylingo
Files in usepolylingo/polylingo
Vendor usepolylingo
Package polylingo
Short Description Official PHP SDK for the PolyLingo translation API
License MIT
Package polylingo
Short Description Official PHP SDK for the PolyLingo translation API
License MIT
Please rate this library. Is it a good library?
Informations about the package polylingo
polylingo (PHP)
PHP client for the PolyLingo translation API.
Requires PHP 7.4 or newer.
Install
Quick start
API
| Method | Notes |
|---|---|
$client->health() |
GET /health |
$client->languages() |
GET /languages |
$client->translate([...]) |
POST /translate |
$client->batch([...]) |
POST /translate/batch |
$client->usage() |
GET /usage |
$client->jobs->create([...]) |
POST /jobs (202) |
$client->jobs->get($jobId) |
GET /jobs/:id |
$client->jobs->translate([...]) |
Submit job, poll until done (pollInterval, timeout, onProgress) |
Responses are associative arrays matching the JSON API (e.g. translations, usage).
Errors
PolyLingo\Errors\PolyLingoException is the base type (getHttpStatus(), getErrorCode(), getMessage()). Subclasses: AuthException (401), RateLimitException (429, optional getRetryAfter()), JobFailedException (failed or timed-out job, includes getJobId()).
Documentation
Repository
github.com/UsePolyLingo/polylingo-php
License
MIT
All versions of polylingo with dependencies
PHP Build Version
Package Version
The package usepolylingo/polylingo contains the following files
Loading the files please wait ...