PHPackages                             franckitho/laravel-aws-textract - 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. [API Development](/categories/api)
4. /
5. franckitho/laravel-aws-textract

ActiveLibrary[API Development](/categories/api)

franckitho/laravel-aws-textract
===============================

Wrapper for AWS Textract

v1.0.1(1y ago)41.0k↓50%MITPHPPHP ^8.2CI passing

Since Oct 10Pushed 9mo ago2 watchersCompare

[ Source](https://github.com/franckitho/laravel-aws-textract)[ Packagist](https://packagist.org/packages/franckitho/laravel-aws-textract)[ Docs](https://github.com/franckitho/laravel-aws-textract)[ GitHub Sponsors](https://github.com/franckitho)[ RSS](/packages/franckitho-laravel-aws-textract/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (13)Versions (3)Used By (0)

Laravel AWS Textract
====================

[](#laravel-aws-textract)

[![Latest Version on Packagist](https://camo.githubusercontent.com/80f844d06a3659b7a53fdac5affdafcc02d3bf9a56cc0469af92f6dcd34d194d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6672616e636b6974686f2f6c61726176656c2d6177732d74657874726163742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/franckitho/laravel-aws-textract)[![GitHub Tests Action Status](https://camo.githubusercontent.com/173a9b10efcff671ca9f44b6da77260992fd45c64d133594d40ce6d088d0e708/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6672616e636b6974686f2f6c61726176656c2d6177732d74657874726163742f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/franckitho/laravel-aws-textract/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/ef859b2d6f1a1c4e120424bbb1906dca9d1edb215715d7c8b1fdfe862048c367/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6672616e636b6974686f2f6c61726176656c2d6177732d74657874726163742f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/franckitho/laravel-aws-textract/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/e1caa12dd6835fc1437753a310bffea27483f2fbd6bed027ab4f575761781c90/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6672616e636b6974686f2f6c61726176656c2d6177732d74657874726163742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/franckitho/laravel-aws-textract)

Simple [AWS Textract](https://aws.amazon.com/fr/textract/) (OCR Software, Data Extraction Tool) wrapper for Laravel

Features
--------

[](#features)

- Analyze Document
- Analyze ID card
- Analyze Invoice
- Query-based extraction
- Signature detection

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

[](#installation)

You can install the package via composer:

```
composer require franckitho/laravel-aws-textract
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-aws-textract-config"
```

This is the contents of the published config file:

```
return  [
    'region' => env('AWS_REGION', 'us-east-1'),
    'version' => env('AWS_TEXTRACT_VERSION', 'latest'),
    'credentials' => [
        'key' => env('AWS_ACCESS_KEY_ID'),
        'secret' => env('AWS_SECRET_ACCESS_KEY'),
    ],
];
```

Usage
-----

[](#usage)

##### With local file or url

[](#with-local-file-or-url)

```
use franckitho\Textract\AnalyseDocument;

$document = AnalyseDocument::features('LAYOUT')->file('path/to/file')->analyze();
```

##### With S3 Bucket (need S3 permission)

[](#with-s3-bucket-need-s3-permission)

```
use franckitho\Textract\AnalyseDocument;

$document = AnalyseDocument::features('LAYOUT')->s3('bucket', 'file')->analyze();
```

##### To show metadata

[](#to-show-metadata)

```
use franckitho\Textract\AnalyseDocument;

$document = AnalyseDocument::features('LAYOUT')->file('path/to/file')->withMetaData()->analyze();
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [franckitho](https://github.com/franckitho)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance52

Moderate activity, may be stable

Popularity23

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~160 days

Total

2

Last Release

426d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c071c45f3a216e1276ffb7e7bc0054c084707b88eceac5d727bfc4c8aa0eba9?d=identicon)[franckitho](/maintainers/franckitho)

---

Top Contributors

[![franckitho](https://avatars.githubusercontent.com/u/33814441?v=4)](https://github.com/franckitho "franckitho (36 commits)")

---

Tags

laravelfranckitholaravel-aws-textract

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/franckitho-laravel-aws-textract/health.svg)

```
[![Health](https://phpackages.com/badges/franckitho-laravel-aws-textract/health.svg)](https://phpackages.com/packages/franckitho-laravel-aws-textract)
```

###  Alternatives

[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k7.8M57](/packages/dedoc-scramble)[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)[ryangjchandler/bearer

Minimalistic token-based authentication for Laravel API endpoints.

8129.8k](/packages/ryangjchandler-bearer)[combindma/laravel-facebook-pixel

Meta pixel integration for Laravel

4956.9k](/packages/combindma-laravel-facebook-pixel)[stechstudio/laravel-hubspot

A Laravel SDK for the HubSpot CRM Api

2971.0k](/packages/stechstudio-laravel-hubspot)[njoguamos/laravel-plausible

A laravel package for interacting with plausible analytics api.

208.8k](/packages/njoguamos-laravel-plausible)

PHPackages © 2026

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