New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

zarulizham/laravel-ocrmypdf

This is my package OCRmyPDF
1,003 1

Larablocks Analysis

zarulizham/laravel-ocrmypdf works with Laravel 8 to 13 (latest release v1.0.4, Oct 25, 2026).

Promising: maintained and up to date, meets 2 of 4 checks; not yet widely used.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (Oct 25, 2026)
  • 53 downloads a month (needs 10,000)
  • 1 GitHub star (needs 100)

State

Maintained
  • Last stable release: Oct 25, 2026.
  • 1 release in the last 12 months.
  • First released: Aug 16, 2021.
  • Monthly downloads: 53.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.

Install
composer require zarulizham/laravel-ocrmypdf
Latest Version:v1.0.4
PHP:^8.0|^8.1|^8.2
Laravel:8 – 13
License:MIT
Last Updated:Oct 25, 2026
Links: GitHub  ·  Packagist
Maintainer: zarulizham

Laravel OCRmyPDF

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Pre-requisite

OCRmyPDF: https://ocrmypdf.readthedocs.io/en/latest/

Installation

You can install the package via composer:

composer require zarulizham/laravel-ocrmypdf

You can publish the config file with:

php artisan vendor:publish --provider="ZarulIzham\OCRmyPDF\OCRmyPDFServiceProvider" --tag="laravel-ocrmypdf-config"

This is the contents of the published config file:

return [
    'path' => env('OCRMYPDF_PATH', '/usr/local/bin/ocrmypdf'),
];

Usage

OCRmyPDF::input(storage_path('panic.pdf'))
    ->output(storage_path('converted/panic.pdf'))
    ->redoOcr()
    ->addOption('--redo-ocr')
    ->addOption('--title Panic Document')
    ->addOption('--author Zarul Izham')
    ->begin();

Testing

Put PDF inside ./tests/storage and edit test script.

composer test

License

The MIT License (MIT). Please see License File for more information.

Related Packages

zarulizham/laravel-duitnow-qr

Malaysia's National QR Payment repository for Laravel

7,873 5
zarulizham/laravel-ecommerce-payment

Malaysia payment gateway for eCommerce

7,712 1
zarulizham/laravel-duitnow

Malaysia DuitNow payment

6,687 10
zarulizham/laravel-ambank-autodebit

Laravel wrapper for AmBank AutoDebit (eConsent)

4,316 0
zarulizham/laravel-wasap-one

Laravel Package for WasapONE

3,448 1

Version History

Version Released PHP Laravel License
v1.0.4 ^8.0|^8.1|^8.2 ^8.0|^9.0|^10|^11|^12|^13 MIT
v1.0.3 ^8.0|^8.1|^8.2 ^8.0|^9.0|^10|^11|^12 MIT
v1.0.2 ^8.0|^8.1|^8.2 ^8.0|^9.0|^10|^11|^12 MIT
v1.0.1 ^8.0 ^8.37 MIT
v1.0.0 ^8.0 ^8.37 MIT