PHPackages                             webazon/yandex-translator - 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. webazon/yandex-translator

ActiveLibrary[API Development](/categories/api)

webazon/yandex-translator
=========================

The unofficial PHP API library of Yandex.Translate. Version 2.

2.0.1(1y ago)024MITPHPPHP ^8.2

Since Jul 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/katsef/yandex-translator)[ Packagist](https://packagist.org/packages/webazon/yandex-translator)[ RSS](/packages/webazon-yandex-translator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

[![](https://camo.githubusercontent.com/7c804102196efe2eb6ee7647163a5852579e7d0583e5e62e3803f9aefc5713c0/68747470733a2f2f73746f726167652e79616e646578636c6f75642e6e65742f776562617a6f6e2f6769746875622f59616e6465785f5472616e736c6174655f69636f6e2e7376672e706e67)](https://camo.githubusercontent.com/7c804102196efe2eb6ee7647163a5852579e7d0583e5e62e3803f9aefc5713c0/68747470733a2f2f73746f726167652e79616e646578636c6f75642e6e65742f776562617a6f6e2f6769746875622f59616e6465785f5472616e736c6174655f69636f6e2e7376672e706e67) yandex-translator
===================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#-yandex-translator)

[![License: MIT](https://camo.githubusercontent.com/6e14311515fe9098ad163b14f1960dea80ea4dbe1a5d1855a5db6167b48d812d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6b61747365662f79616e6465782d7472616e736c61746f72)](https://opensource.org/licenses/MIT) [![GitHub Release](https://camo.githubusercontent.com/2b80af824d82ff3b9210c39435bd838742f12a42c3f6635ec6e464cb17e95654/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6b61747365662f79616e6465782d7472616e736c61746f72)](https://camo.githubusercontent.com/2b80af824d82ff3b9210c39435bd838742f12a42c3f6635ec6e464cb17e95654/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6b61747365662f79616e6465782d7472616e736c61746f72) [![GitHub Downloads (all assets, all releases)](https://camo.githubusercontent.com/17bf3bf9996d3d4cc30cddbb0ae1d01d057668117fb91fb5a2a7e9331c2bde76/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f6b61747365662f79616e6465782d7472616e736c61746f722f746f74616c)](https://camo.githubusercontent.com/17bf3bf9996d3d4cc30cddbb0ae1d01d057668117fb91fb5a2a7e9331c2bde76/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f6b61747365662f79616e6465782d7472616e736c61746f722f746f74616c)

---

### Неофициальная API PHP библиотека [Яндекс.Переводчика](https://yandex.cloud/ru/services/translate). **Версия 2**.

[](#неофициальная-api-php-библиотека--яндекспереводчика-версия-2)

Для начала реализации необходимо настроить сервисный аккаунт на [Яндекс.Облаке](https://cloud.yandex.ru), определить ID каталога и получить сервисный API-ключ.

---

### Установка

[](#установка)

Можно установить используя менеджер пакетов [Composer](https://getcomposer.org)

```
$ composer require webazon/yandex-translator
```

или скачать пакет с [GitHub](https://github.com/katsef/yandex-translator)

### Инициализация и использование

[](#инициализация-и-использование)

```
require __DIR__ . '/vendor/autoload.php';
$translator = new Translator(["folder_id"=> "", "ApiKey"=>'']);
$translate = $translator->Translate('Hello, World','en-ru');
$text = $translate -> text;
```

---

Список поддерживаемых языков можно получить командой:

```
$translate = $translator->listLanguages();
```

или в файле [JSON](https://github.com/katsef/yandex-translator/blob/main/languages.json) в корне проекта.

---

---

### Unofficial PHP API library [Yandex.Translate](https://yandex.cloud/ru/services/translate). **Version 2**.

[](#unofficial-php-api-library--yandextranslate-version-2)

To start the implementation, you need to set up a service account on [Yandex.Cloud](https://cloud.yandex.ru), determine the folder ID and get the service API key.

---

### Installation

[](#installation)

Can be installed using the package manager [Composer](https://getcomposer.org)

```
$ composer require webazon/yandex-translator
```

or download the package from [GitHub](https://github.com/katsef/yandex-translator)

### Initialization and usage

[](#initialization-and-usage)

```
require __DIR__ . '/vendor/autoload.php';
$translator = new Translator(["folder_id"=> "", "ApiKey"=>'']);
$translate = $translator->Translate('Hello, World','en-ru');
$text = $translate -> text;
```

---

The list of supported languages can be obtained using the command:

```
$translate = $translator->listLanguages();
```

or in the file [JSON](https://github.com/katsef/yandex-translator/blob/main/languages.json) at the root of the project.

---

---

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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

666d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/537405708f55609f3ce4f6260152f2c867d5ede7be98a730686e405981a3f2b7?d=identicon)[webazon](/maintainers/webazon)

### Embed Badge

![Health badge](/badges/webazon-yandex-translator/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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