PHPackages                             errogaht/yandex-ocr-php - 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. errogaht/yandex-ocr-php

ActiveLibrary

errogaht/yandex-ocr-php
=======================

Unofficial PHP client for Yandex-translate OCR

1.0.6(9y ago)3237↓100%1MITPHPPHP &gt;=5.5.0

Since Apr 16Pushed 8y ago2 watchersCompare

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

READMEChangelogDependencies (1)Versions (8)Used By (0)

yandex-ocr-php
==============

[](#yandex-ocr-php)

Now its not working, yandex ban it, but if you want you can repair it and create pull request
---------------------------------------------------------------------------------------------

[](#now-its-not-working-yandex-ban-it-but-if-you-want-you-can-repair-it-and-create-pull-request)

[![Latest Version on Packagist](https://camo.githubusercontent.com/0bbe46fa666850b0499970a68708db39474f8f9cf964dfa08eaa1a276a067ed8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6572726f676168742f79616e6465782d6f63722d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/errogaht/yandex-ocr-php)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/ae0e8538c24f1ba96050e062cfd7480865a59c71c4e3271f3a2fc6ec0ad7c979/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6572726f676168742f79616e6465782d6f63722d7068702e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/errogaht/yandex-ocr-php)[![Total Downloads](https://camo.githubusercontent.com/dee5308a1c8f0e74359c30feae53a83d7758e79d758b6d30994cdc4a7ca9d3be/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6572726f676168742f79616e6465782d6f63722d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/errogaht/yandex-ocr-php)

Unofficial PHP package to get results from Yandex translate OCR

Features:

- Upload image to Yandex Translate OCR and get response in PHP array
- Convert response to plain text
- Unit test
- Daily build guarantee that package is work, if you see build badge above green - that's mean package work right now

Install
-------

[](#install)

`composer require errogaht/yandex-ocr-php`

Usage
-----

[](#usage)

You can see test file:

```
// can pass optional arguments: $langFrom, $langTo, API $url
$client = new \Errogaht\YandexOCR\Client();

//tell path to recognizing file
$client->setFilePath(__DIR__ . '/1e741d3b-ba67-42e5-8229-f07a72072c96.png');

//get response from Yandex translate
$response = $client->request();

//convert response to plain text
$texter = new \Errogaht\YandexOCR\Response2Text($response);
$text = $texter->getText();
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Every ~1 days

Total

7

Last Release

3303d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f642df9c07799b6f2272163323248d1bd8aa4c6727b4199132f60c0a6bb2f473?d=identicon)[errogaht](/maintainers/errogaht)

---

Top Contributors

[![errogaht](https://avatars.githubusercontent.com/u/6324265?v=4)](https://github.com/errogaht "errogaht (17 commits)")

---

Tags

yandexOCRyandex-translatetranslate ocr

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/errogaht-yandex-ocr-php/health.svg)

```
[![Health](https://phpackages.com/badges/errogaht-yandex-ocr-php/health.svg)](https://phpackages.com/packages/errogaht-yandex-ocr-php)
```

###  Alternatives

[hwi/oauth-bundle

Support for authenticating users using both OAuth1.0a and OAuth2 in Symfony.

2.4k21.5M67](/packages/hwi-oauth-bundle)[thiagoalessio/tesseract_ocr

A wrapper to work with Tesseract OCR inside PHP.

3.0k3.3M24](/packages/thiagoalessio-tesseract-ocr)[arcanedev/seo-helper

SEO Helper is a framework agnostic package that provides tools &amp; helpers for SEO (Laravel supported).

332467.0k4](/packages/arcanedev-seo-helper)[vaites/php-apache-tika

Apache Tika bindings for PHP: extracts text from documents and images (with OCR), metadata and more...

1171.5M2](/packages/vaites-php-apache-tika)[yandex/geo

PHP-library for interactions with geo-coding Yandex.Maps

117309.0k3](/packages/yandex-geo)[t1gor/robots-txt-parser

PHP class to parse robots.txt rules according to Google, Yandex, W3C and The Web Robots Pages specifications.

85494.6k4](/packages/t1gor-robots-txt-parser)

PHPackages © 2026

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