PHPackages                             gengo/gengo - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. gengo/gengo

ActiveLibrary[API Development](/categories/api)

gengo/gengo
===========

Gengo API client library for PHP

4.0.0(3y ago)24180.5k—4.8%19[3 PRs](https://github.com/gengo/gengo-php/pulls)MITPHPPHP &gt;=8.1

Since Jun 3Pushed 3y ago35 watchersCompare

[ Source](https://github.com/gengo/gengo-php)[ Packagist](https://packagist.org/packages/gengo/gengo)[ Docs](http://github.com/gengo/gengo-php)[ RSS](/packages/gengo-gengo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (8)Versions (27)Used By (0)

[![Build Status](https://camo.githubusercontent.com/9cee428ba565910d9830985a04740521fb355f815a3a209a8e897149e15775bd/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f67656e676f2f67656e676f2d7068702e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/gengo/gengo-php) [![Maintainability](https://camo.githubusercontent.com/f2076fc078c9d1b4dc193c06d0f369bef5b0b092129df9c45fa202720dac45e5/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f32653264613039313763373136363265363139642f6d61696e7461696e6162696c697479)](https://codeclimate.com/repos/58ad101416506402870032d7/maintainability) [![Test Coverage](https://camo.githubusercontent.com/bb5397a7afa90ba994065babe41cd52b2ab8ccca84cb55e4935a48884e312978/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f32653264613039313763373136363265363139642f746573745f636f766572616765)](https://codeclimate.com/repos/58ad101416506402870032d7/test_coverage)

Gengo PHP Library (for the [Gengo API](http://gengo.com/api/))
==============================================================

[](#gengo-php-library-for-the-gengo-api)

Translating your tools and products helps people all over the world access them; this is, of course, a somewhat tricky problem to solve. **[Gengo](http://gengo.com/)** is a service that offers human-translation (which is often a higher quality than machine translation), and an API to manage sending in work and watching jobs. This is a PHP interface to make using the API simpler (some would say incredibly easy).

This package contains both a client library for accessing the Gengo Translate API, as well as some example code showing how to use the library.

Installation &amp; Requirements
-------------------------------

[](#installation--requirements)

Installing the library is simple. Just add it to "require" of your composer.json

```
composer require gengo/gengo

```

Then inside of your code you can call:

```
\Gengo\Config::setAPIkey("your_api_key");
\Gengo\Config::setPrivateKey("your_private_key");

$job1 = array(
    "type"     => "text",
    "slug"     => "API Liverpool 1",
    "body_src" => "Liverpool_1 Football Club is an English Premier League football club based in Liverpool, Merseyside.",
    "lc_src"   => "en",
    "lc_tgt"   => "ja",
    "tier"     => "standard",
    "force"    => 1,
);

$jobs = array("job_01" => $job1);

$api = new \Gengo\Jobs();
$api->postJobs($jobs);
$response = json_decode($api->getResponseBody(), true);
```

When you are ready to go live insert the following before calls to Gengo:

```
\Gengo\Config::useProduction();
```

You can read through files in tests folder for more usage examples.

Question, Comments, Complaints, Praise?
---------------------------------------

[](#question-comments-complaints-praise)

If you have questions or comments and would like to reach us directly, please feel free to do so at the following outlets. We love hearing from developers!

- Email: api \[at\] gengo dot com
- Twitter: [@gengoit](https://twitter.com/gengoit)
- IRC: #gengo

If you come across any issues, please file them on the [Github project issue tracker](https://github.com/gengo/gengo-php/issues). Thanks!

Documentation
-------------

[](#documentation)

Check out the full [Gengo API documentation](http://developers.gengo.com).

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity45

Moderate usage in the ecosystem

Community27

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor3

3 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~132 days

Recently: every ~396 days

Total

25

Last Release

1187d ago

Major Versions

1.0.5 → 2.1.22015-04-16

2.1.7 → 3.02016-10-01

2.1.8 → 4.0.02023-02-16

PHP version history (3 changes)1.0.0PHP &gt;=5.3.0

3.1.1PHP &gt;=5.5.0

4.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/989c1dc6a03f769dc3e8827993d867c94f615b8cdbf9bd8956d17a83a56ed9ed?d=identicon)[gengodev](/maintainers/gengodev)

---

Top Contributors

[![hayate](https://avatars.githubusercontent.com/u/92108?v=4)](https://github.com/hayate "hayate (28 commits)")[![vbashkirtsev](https://avatars.githubusercontent.com/u/16136510?v=4)](https://github.com/vbashkirtsev "vbashkirtsev (22 commits)")[![shawnps](https://avatars.githubusercontent.com/u/80111?v=4)](https://github.com/shawnps "shawnps (21 commits)")[![hermanschaaf](https://avatars.githubusercontent.com/u/1121616?v=4)](https://github.com/hermanschaaf "hermanschaaf (16 commits)")[![ryvasquez](https://avatars.githubusercontent.com/u/8102493?v=4)](https://github.com/ryvasquez "ryvasquez (13 commits)")[![mervinsanandres](https://avatars.githubusercontent.com/u/83994522?v=4)](https://github.com/mervinsanandres "mervinsanandres (6 commits)")[![narusemotoki](https://avatars.githubusercontent.com/u/1593495?v=4)](https://github.com/narusemotoki "narusemotoki (5 commits)")[![alexlide](https://avatars.githubusercontent.com/u/2570693?v=4)](https://github.com/alexlide "alexlide (3 commits)")[![marexandre](https://avatars.githubusercontent.com/u/228359?v=4)](https://github.com/marexandre "marexandre (3 commits)")[![yugui](https://avatars.githubusercontent.com/u/8161?v=4)](https://github.com/yugui "yugui (1 commits)")[![earlsunaz](https://avatars.githubusercontent.com/u/13096637?v=4)](https://github.com/earlsunaz "earlsunaz (1 commits)")[![r-miezhelis](https://avatars.githubusercontent.com/u/8655987?v=4)](https://github.com/r-miezhelis "r-miezhelis (1 commits)")[![shivamdixit](https://avatars.githubusercontent.com/u/3061095?v=4)](https://github.com/shivamdixit "shivamdixit (1 commits)")[![slamice](https://avatars.githubusercontent.com/u/1047713?v=4)](https://github.com/slamice "slamice (1 commits)")

---

Tags

apitranslationgengo

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/gengo-gengo/health.svg)

```
[![Health](https://phpackages.com/badges/gengo-gengo/health.svg)](https://phpackages.com/packages/gengo-gengo)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[get-stream/stream-chat

A PHP client for Stream Chat (https://getstream.io/chat/)

301.8M2](/packages/get-stream-stream-chat)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
