PHPackages                             leapocr/leapocr-php - 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. leapocr/leapocr-php

ActiveLibrary

leapocr/leapocr-php
===================

Official PHP SDK for LeapOCR - Transform documents into structured data using AI-powered OCR.

v0.1.1(1mo ago)00MITPHPPHP ^8.2CI passing

Since Mar 19Pushed 1mo agoCompare

[ Source](https://github.com/LeapOCR/leapocr-php)[ Packagist](https://packagist.org/packages/leapocr/leapocr-php)[ Docs](https://www.leapocr.com/)[ RSS](/packages/leapocr-leapocr-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (3)Used By (0)

LeapOCR PHP SDK
===============

[](#leapocr-php-sdk)

[![Packagist Version](https://camo.githubusercontent.com/18eda02288b2ee757496d5f0da0166dd6423e2c847e0b2c3a84a0ce0bb664ff7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6561706f63722f6c6561706f63722d706870)](https://packagist.org/packages/leapocr/leapocr-php)[![Packagist Downloads](https://camo.githubusercontent.com/b9d3c74f0f70f144c8d74dc32560c17de7a508e4556a4f6139121aa700c342a1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6561706f63722f6c6561706f63722d706870)](https://packagist.org/packages/leapocr/leapocr-php)[![CI](https://github.com/LeapOCR/leapocr-php/actions/workflows/ci.yml/badge.svg)](https://github.com/LeapOCR/leapocr-php/actions/workflows/ci.yml)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)[![PHP](https://camo.githubusercontent.com/c2588b5670f2c910b8cc849ace22a22efda8956b7c2f797d11d2096bbfc7b1f5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322532422d3737374242342e737667)](https://www.php.net/)

Official PHP SDK for [LeapOCR](https://www.leapocr.com/) - Transform documents into structured data using AI-powered OCR.

Overview
--------

[](#overview)

LeapOCR provides enterprise-grade document processing with AI-powered data extraction. This SDK offers a modern PHP interface for local file uploads, remote URL processing, job polling, and result retrieval.

Installation
------------

[](#installation)

```
composer require leapocr/leapocr-php
```

Quick Start
-----------

[](#quick-start)

### Prerequisites

[](#prerequisites)

- PHP 8.2 or higher
- LeapOCR API key ([sign up here](https://www.leapocr.com/signup))

### Basic Example

[](#basic-example)

```
