PHPackages                             vmbcarabbacan/teseract-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. vmbcarabbacan/teseract-ocr

ActiveLibrary

vmbcarabbacan/teseract-ocr
==========================

Extract text image and pdf file

1.0.12.0(1y ago)168MITPHPPHP ^7.2|^8.0

Since Mar 30Pushed 1y ago2 watchersCompare

[ Source](https://github.com/vmbcarabbacan/tesseractOCR)[ Packagist](https://packagist.org/packages/vmbcarabbacan/teseract-ocr)[ RSS](/packages/vmbcarabbacan-teseract-ocr/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (9)Used By (0)

\#Requirements Ensure that the GD library is enabled in your PHP installation. You can usually enable it by uncommenting or adding the following line in your php.ini file: extension=gd extension=imagick

Before you can use Imagick in PHP, you need to ensure that the Imagick extension is installed and enabled on your server. If Imagick is not already installed, you can typically install it using package managers like apt (for Debian-based systems) or yum (for CentOS/RHEL-based systems). For example, on Ubuntu, you can install Imagick using the following command:

sudo apt-get install -y php-imagick

\#Installation linux `bash sudo apt-get install -y tesseract-ocr sudo apt-get install -y tesseract-ocr-script-arab sudo apt-get install -y pdftoppm sudo apt-get install -y ghostscript sudo apt-get install -y poppler-utils sudo apt-get install imagemagick `after you install tesseract run `bash export TESSDATA_PREFIX=/usr/share/tesseract-ocr/4.00/tessdata `\#Installation windows `bash https://github.com/UB-Mannheim/tesseract/wiki `after you install tesseract run `bash set TESSDATA_PREFIX=C:\Program Files\Tesseract-OCR\tessdata `\#Check

```
    tesseract --list-langs
```

\#Usage to extract emirates id details

```
use Vmbcarabbacan\TeseractOcr\TesseractOcr;

#file can be jpg, png or pdf
$path = 'path/id/test.jpg'

$tesseract = new TesseractOcr();
return $tesseract->setpath($path)->emiratesId()->lang('Arabic')->generateFile();

#returns emirates id, name, dob and extracted string
```

to extract policy details

```
use Vmbcarabbacan\TeseractOcr\TesseractOcr;

#file can be jpg, png or pdf
$path = 'path/id/policy.pdf'

$tesseract = new TesseractOcr();
return $tesseract->setpath($image)->policy()->lang('eng')->generateFile();

#returns policy number, policy start date, policy end date and extracted string
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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 ~35 days

Recently: every ~50 days

Total

7

Last Release

557d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7677151fa96938037483fce7ef6cb39db76ef01f2b7c66f332352b3b55fa9bc7?d=identicon)[vmbcarabbacan](/maintainers/vmbcarabbacan)

---

Top Contributors

[![vmbcarabbacan](https://avatars.githubusercontent.com/u/35291726?v=4)](https://github.com/vmbcarabbacan "vmbcarabbacan (18 commits)")[![jeybin-buyanyinsurance](https://avatars.githubusercontent.com/u/202954795?v=4)](https://github.com/jeybin-buyanyinsurance "jeybin-buyanyinsurance (2 commits)")

---

Tags

OCRTesseracttext recognitioneid recognition

### Embed Badge

![Health badge](/badges/vmbcarabbacan-teseract-ocr/health.svg)

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

###  Alternatives

[thiagoalessio/tesseract_ocr

A wrapper to work with Tesseract OCR inside PHP.

3.0k3.3M25](/packages/thiagoalessio-tesseract-ocr)[horstoeko/zugferd

A library for creating and reading european electronic invoices

4044.3M18](/packages/horstoeko-zugferd)[ddeboer/tesseract

A wrapper for the Tesseract OCR engine

23135.1k](/packages/ddeboer-tesseract)

PHPackages © 2026

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