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. [Utility &amp; Helpers](/categories/utility)
4. /
5. vmbcarabbacan/teseract-ocr

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

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 3d 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 57% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

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

611d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/35291726?v=4)[Vincent Mark Carabbacan](/maintainers/vmbcarabbacan)[@vmbcarabbacan](https://github.com/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.1k3.8M34](/packages/thiagoalessio-tesseract-ocr)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[illuminate/process

The Illuminate Process package.

44869.2k99](/packages/illuminate-process)[ddeboer/tesseract

A wrapper for the Tesseract OCR engine

22136.7k](/packages/ddeboer-tesseract)

PHPackages © 2026

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