PHPackages                             enupal/yandex-translate - 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. enupal/yandex-translate

ActiveLibrary

enupal/yandex-translate
=======================

Online service for machine translation for over 40 languages.

1.0.0(5y ago)156.8k↓22.5%11MITPHPPHP &gt;=5.3.0

Since Jun 29Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (1)

Yandex Translate
================

[](#yandex-translate)

Yandex API offers text translation features for over 30 languages.

API reference in [English](https://tech.yandex.com/translate/doc/dg/concepts/api-overview-docpage/)

Requirements
------------

[](#requirements)

- PHP 5.3 or higher
- cURL

Install
-------

[](#install)

Via Composer

```
$ composer require enupal/yandex-translate
```

Usage
-----

[](#usage)

```
use Enupal\YaTranslate\Translate;

try {
    $tr = new Translate('yourApiKey');
    $result = $tr->translate("Hey baby, what are you doing tonight?", 'fr');

    echo $result;                           // Hey bébé, tu fais quoi ce soir?
    echo $result->sourceText();             // Hey baby, what are you doing tonight?
    echo $result->translationDirection();   // en-fr

    var_dump($result->translation());       // array (size=1)
                                            // 0 => string 'Hey bébé, tu fais quoi ce soir?'
} catch (\Enupal\YaTranslate\TranslateException $e) {
    //Handle exception
}
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Unknown

Total

1

Last Release

2149d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2157c02413c96609bdc0d87186c4887fa1d06636d599c1a355dd53acac91026f?d=identicon)[enupal](/maintainers/enupal)

---

Top Contributors

[![andrelopez](https://avatars.githubusercontent.com/u/875476?v=4)](https://github.com/andrelopez "andrelopez (1 commits)")

---

Tags

yandex-translateenupal

### Embed Badge

![Health badge](/badges/enupal-yandex-translate/health.svg)

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

PHPackages © 2026

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