PHPackages                             yk/laravel-ocr - 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. [Image &amp; Media](/categories/media)
4. /
5. yk/laravel-ocr

ActiveLibrary[Image &amp; Media](/categories/media)

yk/laravel-ocr
==============

A wrapper for gocr.

1.0.1(9y ago)1356.6k6GPLv2PHP

Since Nov 5Pushed 9y ago2 watchersCompare

[ Source](https://github.com/yassine-khachlek/laravel-ocr)[ Packagist](https://packagist.org/packages/yk/laravel-ocr)[ Docs](https://github.com/yassine-khachlek/laravel-ocr)[ RSS](/packages/yk-laravel-ocr/feed)WikiDiscussions master Synced 3w ago

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

Laravel OCR
===========

[](#laravel-ocr)

A wrapper for gocr for fast and easy use with Laravel.

[![alt text](https://raw.githubusercontent.com/yassine-khachlek/laravel-ocr/master/src/examples/images/number.png "number.png")](https://raw.githubusercontent.com/yassine-khachlek/laravel-ocr/master/src/examples/images/number.png) =&gt; 9504990559

### Installation

[](#installation)

Install wia composer:

```
composer require yk/laravel-ocr

```

And add the service provider in config/app.php:

```
Yk\LaravelOcr\OcrProvider::class,
```

Then register Facade class alias:

```
'Ocr' => Yk\LaravelOcr\Facades\Ocr::class,
```

### Example:

[](#example)

find the text from an image using its full path

```
Ocr::recognize('/home/voidmain/Desktop/phone.png')
```

License
-------

[](#license)

### GPLv2

[](#gplv2)

Copyright (c) 2016 Yassine Khachlek

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

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 ~0 days

Total

2

Last Release

3517d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5513479?v=4)[Yassine Khachlek](/maintainers/yassine-khachlek)[@yassine-khachlek](https://github.com/yassine-khachlek)

---

Top Contributors

[![yassine-khachlek](https://avatars.githubusercontent.com/u/5513479?v=4)](https://github.com/yassine-khachlek "yassine-khachlek (5 commits)")

---

Tags

laravelimagetextOCRrecognitiongocr

### Embed Badge

![Health badge](/badges/yk-laravel-ocr/health.svg)

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

###  Alternatives

[alimranahmed/laraocr

Laravel Optical Character Reader(OCR) package using different OCR engines like Tesseract

17085.2k](/packages/alimranahmed-laraocr)

PHPackages © 2026

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