franckitho/laravel-aws-textract is a Laravel package for wrapper for aws textract.
It currently has 4 GitHub stars and 1.464 downloads on Packagist (latest version v1.0.1).
Install it with composer require franckitho/laravel-aws-textract.
Discover more Laravel packages by franckitho
or browse all Laravel packages to compare alternatives.
Last updated
Simple AWS Textract (OCR Software, Data Extraction Tool) wrapper for Laravel
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'),
],
];
use franckitho\Textract\AnalyseDocument;
$document = AnalyseDocument::features('LAYOUT')->file('path/to/file')->analyze();
use franckitho\Textract\AnalyseDocument;
$document = AnalyseDocument::features('LAYOUT')->s3('bucket', 'file')->analyze();
use franckitho\Textract\AnalyseDocument;
$document = AnalyseDocument::features('LAYOUT')->file('path/to/file')->withMetaData()->analyze();
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.