AI tools, scored for your job
Get paid to train AI
🤝 You're in the Free & Open Source library — community-built tools you can use without paying. A different concept from our scored AI directory.
Home › Free & Open Source › Accounting › laravel-ocr
✦ Free & open sourceAccounting

laravel-ocr

Parse invoices and PDFs into structured data for Laravel apps.

AI-Powered OCR for Laravel

Extract structured data, line items, and tables from PDFs and images using multiple OCR engines.

Free forever · source-available · Licence not stated in the repository
✓ Light setup✓ Browser-based✓ Real-time collaboration
7.4
ZEKAI
Solid Laravel OCR package
Free & open source · Accounting
Ease of setup6
Usefulness9
Maintenance9.5
Community5
★ 176
GITHUB
Sep 2026
UPDATED
Licence not stated in the repository
LICENSE
🛠 Don't want to self-host? We can set it up →
⚡ Quick answer

This Laravel package turns images and PDFs into typed DTOs with confidence scores and auto-classification. It suits PHP developers building document-heavy financial workflows who need precise extraction over raw text dumps.

Runs on
Web
Hosting
Self-host
Languages
PHP
License
Licence not stated in the repository

What it is

It handles multi-driver OCR via Tesseract, Google Cloud Vision, AWS Textract, and Azure, coupled with optional AI cleanup via the Laravel AI SDK. It parses complex invoice tables, detects document types automatically, and supports template-based extraction.

Who it's for

It suits Laravel developers automating document intake for bookkeeping and accounting systems. It does not suit teams working outside the PHP or Laravel ecosystem.

Key features

Multi-Driver OCR Engine

Switch dynamically between Tesseract, Google Cloud Vision, AWS Textract, and Azure Computer Vision.

Typed DTO Results

Returns structured data objects complete with text, confidence scores, bounds, and metadata.

Line Item Extraction

Specialized algorithms target quantities, descriptions, unit prices, and totals in complex invoices.

Reusable Templates

Define custom document templates using regex patterns and positional extraction rules.

Optional AI Cleanup

Integrates with the Laravel AI SDK to correct common OCR typos and normalize data formats.

How to start

Up and running in 3 steps

1
Run composer require mayaram/laravel-ocr to add the package to your Laravel project
2
Publish the configuration files, migrations, and run database migrations
3
Install the Tesseract binary or configure cloud OCR credentials in your environment
Real talk

Our honest verdict

What's great

  • Supports multiple OCR drivers including offline Tesseract for strict privacy
  • Extracts structured tables and line items instead of raw text dumps
  • Includes auto-classification to detect invoice, receipt, or contract types
  • Provides built-in Blade components to visualize bounding box overlays

Where it falls short

  • Requires PHP 8.2+ and a compatible Laravel application
  • Default Tesseract driver requires local binary installation on your server
  • Cloud drivers and AI cleanup incur external API service costs
  • Licensing information is not stated in the repository metadata
Cost

Pricing & license

The package code is free to use, but running it requires your own server infrastructure and potentially paid cloud OCR or AI API keys depending on your chosen drivers.

Paid work

Open remote AI-training roles

880 open remote AI-training roles, updated November 15, 2026; most pay $20–$175 an hour. Zekai lists them free; the application goes to the employer’s platform.

See all open roles →
Compare

Alternatives

🎁 Free & open-source alternatives

These reviewed AI tools do the same job instantly — from our scored directory.

Get more

Use it, or have us set it up

📄 Free PDF: laravel-ocr for Accounting
A plain-language guide to getting your first result. Sent to your inbox.
🔔 64 people want a full video tutorial — add your vote
🛠 Don't want to set it up yourself?
We'll install, host & configure laravel-ocr for you — and train your team.
Get it done for you ↗
Questions

FAQ

What PHP versions are supported?

The package requires PHP 8.2 or higher and works with Laravel versions 9 through 13.

Can I run this offline?

Yes, the default Tesseract driver enables offline, privacy-first text extraction without sending documents to third-party cloud APIs.

How does AI cleanup work?

It offers basic rule-based typo correction out of the box, or advanced AI-powered cleanup when you install the separate laravel/ai package.

Radar

Latest AI news

✉️ The weekly free toolkit
The best new free & open-source tools for Accounting — one short email a week, in your language.
Free · 1 email/week · unsubscribe anytime
Get paid to train AI →

See Zekai first in Google