PHPackages                             nilgems/laravel-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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. nilgems/laravel-textract

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

nilgems/laravel-textract
========================

A Laravel package to extract text from files like DOC, XL, Image, Pdf and more. I've developed this package by inspiring "npm textract".

v12.0.2(1y ago)195.2k—0%9[2 issues](https://github.com/NilGems/laravel-textract/issues)MITPHPPHP ^8.2

Since Jun 10Pushed 1y ago2 watchersCompare

[ Source](https://github.com/NilGems/laravel-textract)[ Packagist](https://packagist.org/packages/nilgems/laravel-textract)[ RSS](/packages/nilgems-laravel-textract/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (8)Versions (12)Used By (0)

[![Packagist](https://camo.githubusercontent.com/f559452ae28fe0dc60e4941f209a4de5c59208741d810c45cb51010a021797d7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e696c67656d732f6c61726176656c2d7465787472616374)](https://packagist.org/packages/nilgems/laravel-textract)

Laravel Textract
================

[](#laravel-textract)

A [Laravel](https://laravel.com) package to extract text from files like DOC, Excel, Image, Pdf and more.

Versions and compatibility
==========================

[](#versions-and-compatibility)

- [Laravel 10](https://laravel.com) or higher is required.
- Php 8.2 or higher is required

### Supported file formats

[](#supported-file-formats)

Following file formats is supported currently. You need to install proper extensions to your server to work with all the following extension related files. The package will check file content MIME type before execute.

- **HTML**
- **TEXT**
- **DOC**
- **DOCX**
- **XLS**, **XLSX**, **XLSM**, **XLTX**, **XLTM**, **XLT**
- **CSV**
- **PDF**
- **Image**
    - *jpeg*
    - *png*
    - *gif*
- **ODT**
- **ODS**
- **RTF**
- **PPTX** (NEW)

**We are working hard to make this laravel plugin useful. If you found any issue please add a post on discussion.**

### Installation

[](#installation)

```
composer require nilgems/laravel-textract

```

Once installed you can do stuff like this:

```
# Run the extractor
$output = Textract::run('/path/to/file.extension');

# Display the extracted text
echo $output->text;

# Display the extracted text word count
echo $output->word_count;

# Display the extracted text with direct string conversion
echo (string) $output;

```

Run the extractor to any supported file:

```
Textract::run(string $file_path, [string $job_id],[TesseractOcrOptions $extra_data]);

```

OptionTypeDefault valueRequiredDescription$file\_path`String`*No default value*YesText extractable file absolute path.$job\_id`String``NULL`NoIt's a optional parameter. Extraction **job id**. If this option is blank the plugin will auto create the **ID**$extra\_data`TesseractOcrOptions``NULL`NoIt's a optional parameter. To pass extra parameter. If you are extracting a image file, you can mention languages and more by this `Nilgems\PhpTextract\ExtractorService\Ocr\Contracts\TesseractOcrOptions` **parameter**.### Configuration

[](#configuration)

- You can add **provider** in `app.php` under the `config` folder of your [Laravel](https://laravel.com) project. It's optional, the package automatically load the service provider in your application. ```
    'providers' => [
      ...
      Nilgems\PhpTextract\Providers\ServiceProvider,
      ...
    ]

    ```
- Add **alias** in `app.php` under the `config` folder of your [Laravel](https://laravel.com) project. It's optional, the package automatically load the `facade` in your application. ```
    'aliases' => [
      ...
      'Textract' => Nilgems\PhpTextract\Textract::class,
      ...
    ]

    ```
- To publish the `config` file, run: ```
    php artisan vendor:publish --tag=textract

    ```

### Example

[](#example)

##### Example 1:

[](#example-1)

You can extract text from supported file format.

It is recommended to use the extractor with [Laravel Queue Job](https://laravel.com/docs/9.x/queues#creating-jobs) from better performance.

In `php` there have a restriction of execution time and memory limit defined in `php.ini` file with the option `max_execution_time` and `memory_limit`. If file size is big, the process may kill forcefully when exceed the limit. You can use `queue - database/redis` or `Laravel horizon` to run the process in background.

```
........
Route::get('/textract', function(){
    return Textract::run('/path/to/image/example.png');
});
........

```

##### Example 2:

[](#example-2)

If you need to specify languages in image file for better extraction output from image file.

```
........
Route::get('/textract', function(){
    return Textract::run('/path/to/image/example.png', null, [
      'lang' => ['eng', 'jpn', 'spa']
    ]);
});
........

```

### Dependencies

[](#dependencies)

- To enable the image extraction feature you need to install [Tesseract OCR](https://github.com/tesseract-ocr/tesseract)
- To enable the PDF extraction feature you need to install [pdftotext](http://www.xpdfreader.com/download.html)
- To work properly, your server must have following php extensions installed -
    - **ext-fileinfo**
    - **ext-zip**
    - **ext-gd** or **ext-imagick**
    - **ext-xml**

### Tesseract OCR Installation

[](#tesseract-ocr-installation)

#### [![Ubuntu](https://raw.githubusercontent.com/NilGems/laravel-textract/master/blobs/ubuntu.png)](https://raw.githubusercontent.com/NilGems/laravel-textract/master/blobs/ubuntu.png) Ubuntu

[](#-ubuntu)

- Update the system: `sudo apt update`
- Add Tesseract OCR 5 PPA to your system: `sudo add-apt-repository ppa:alex-p/tesseract-ocr-devel`
- Install Tesseract on Ubuntu 20.04 | 18.04: `sudo apt install -y tesseract-ocr`
- Once installation is complete update your system: `sudo apt update`
- Verify the installation: `tesseract --version`

#### [![Ubuntu](https://raw.githubusercontent.com/NilGems/laravel-textract/master/blobs/windows.png)](https://raw.githubusercontent.com/NilGems/laravel-textract/master/blobs/windows.png) Windows

[](#-windows)

- There are many [ways](https://github.com/tesseract-ocr/tesseract/wiki#windows) to install [Tesseract OCR](https://github.com/tesseract-ocr/tesseract) on your system, but if you just want something quick to get up and running, I recommend installing the [Capture2Text](https://chocolatey.org/packages/capture2text) package with [Chocolatey](https://chocolatey.org/).
- Choco installation: `choco install capture2text --version 5.0`

**Note: Recent versions of [Capture2Text](https://chocolatey.org/packages/capture2text) stopped shipping the `tesseract` binary**

### PdfToText Installation

[](#pdftotext-installation)

#### [![Ubuntu](https://raw.githubusercontent.com/NilGems/laravel-textract/master/blobs/ubuntu.png)](https://raw.githubusercontent.com/NilGems/laravel-textract/master/blobs/ubuntu.png) Ubuntu

[](#-ubuntu-1)

- Update the system: `sudo apt update`
- Install PdfToText on Ubuntu 20.04 | 18.04: `sudo apt-get install poppler-utils`
- Verify the installation: `pdftotext -v`

#### [![Ubuntu](https://raw.githubusercontent.com/NilGems/laravel-textract/master/blobs/windows.png)](https://raw.githubusercontent.com/NilGems/laravel-textract/master/blobs/windows.png) Windows

[](#-windows-1)

- Sorry but `pdftotext` available via [poppler](https://poppler.freedesktop.org/) and the [poppler](https://poppler.freedesktop.org/) is not available yet for windows. But you can install and [use the library by windows linux sub-system WLS](https://towardsdatascience.com/poppler-on-windows-179af0e50150). Alternatively, you can install [Laravel Homestead](https://laravel.com/docs/9.x/homestead) in your project and using vagrant virtualization you can run the project in ubuntu virtual server.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

---

💻 Tech Stack
------------

[](#-tech-stack)

[![CSS3](https://camo.githubusercontent.com/be768d5dc55def92d40f8d8c34ee3cb0116e6ae052562ce707f0cb2f184a7f58/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f637373332d2532333135373242362e7376673f7374796c653d706c6173746963266c6f676f3d63737333266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/be768d5dc55def92d40f8d8c34ee3cb0116e6ae052562ce707f0cb2f184a7f58/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f637373332d2532333135373242362e7376673f7374796c653d706c6173746963266c6f676f3d63737333266c6f676f436f6c6f723d7768697465) [![PHP](https://camo.githubusercontent.com/67feaa526d7b1b6d187c78b71394c1ffedf9951024390d90e5e228e71d6b4c53/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2532333737374242342e7376673f7374796c653d706c6173746963266c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/67feaa526d7b1b6d187c78b71394c1ffedf9951024390d90e5e228e71d6b4c53/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2532333737374242342e7376673f7374796c653d706c6173746963266c6f676f3d706870266c6f676f436f6c6f723d7768697465) [![HTML5](https://camo.githubusercontent.com/cc2a077244542d62c603e7227774a606b745286570dbb5ba0b6ab8fdd9a87962/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f68746d6c352d2532334533344632362e7376673f7374796c653d706c6173746963266c6f676f3d68746d6c35266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/cc2a077244542d62c603e7227774a606b745286570dbb5ba0b6ab8fdd9a87962/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f68746d6c352d2532334533344632362e7376673f7374796c653d706c6173746963266c6f676f3d68746d6c35266c6f676f436f6c6f723d7768697465) [![JavaScript](https://camo.githubusercontent.com/2b1dcb3942772832212abad4535fc3621ff825a59b542a7bbdf2fad766e8abc2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6a6176617363726970742d2532333332333333302e7376673f7374796c653d706c6173746963266c6f676f3d6a617661736372697074266c6f676f436f6c6f723d253233463744463145)](https://camo.githubusercontent.com/2b1dcb3942772832212abad4535fc3621ff825a59b542a7bbdf2fad766e8abc2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6a6176617363726970742d2532333332333333302e7376673f7374796c653d706c6173746963266c6f676f3d6a617661736372697074266c6f676f436f6c6f723d253233463744463145) [![AWS](https://camo.githubusercontent.com/dc810211b7d572640bd585e8649992ddf9bd04583499c0150a307ac8a353e0d7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4157532d2532334646393930302e7376673f7374796c653d706c6173746963266c6f676f3d616d617a6f6e2d617773266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/dc810211b7d572640bd585e8649992ddf9bd04583499c0150a307ac8a353e0d7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4157532d2532334646393930302e7376673f7374796c653d706c6173746963266c6f676f3d616d617a6f6e2d617773266c6f676f436f6c6f723d7768697465) [![Vue.js](https://camo.githubusercontent.com/6b4bb3ddcdc7e3c88bbe9fb1fe206f893884abbd254855c628550d5eb74e3e8c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7675656a732d2532333335343935652e7376673f7374796c653d706c6173746963266c6f676f3d767565646f746a73266c6f676f436f6c6f723d253233344643303844)](https://camo.githubusercontent.com/6b4bb3ddcdc7e3c88bbe9fb1fe206f893884abbd254855c628550d5eb74e3e8c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7675656a732d2532333335343935652e7376673f7374796c653d706c6173746963266c6f676f3d767565646f746a73266c6f676f436f6c6f723d253233344643303844) [![Vuetify](https://camo.githubusercontent.com/ccf817dc9ea4cba6e6912cbbf8da7a3efac492b39927de1670267207bd8eede5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f567565746966792d3138363743303f7374796c653d706c6173746963266c6f676f3d76756574696679266c6f676f436f6c6f723d414544444646)](https://camo.githubusercontent.com/ccf817dc9ea4cba6e6912cbbf8da7a3efac492b39927de1670267207bd8eede5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f567565746966792d3138363743303f7374796c653d706c6173746963266c6f676f3d76756574696679266c6f676f436f6c6f723d414544444646) [![NPM](https://camo.githubusercontent.com/edb8c1b6d1c81d9a10cc5ea9c74dfe6be417454ae396162e6a2908ab2419cd5e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4e504d2d2532333030303030302e7376673f7374796c653d706c6173746963266c6f676f3d6e706d266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/edb8c1b6d1c81d9a10cc5ea9c74dfe6be417454ae396162e6a2908ab2419cd5e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4e504d2d2532333030303030302e7376673f7374796c653d706c6173746963266c6f676f3d6e706d266c6f676f436f6c6f723d7768697465) [![jQuery](https://camo.githubusercontent.com/c46ddc16f8589ac76d9dc5c09ffd841982beaefef87e6296f7a766e9d1e0e783/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6a71756572792d2532333037363941442e7376673f7374796c653d706c6173746963266c6f676f3d6a7175657279266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/c46ddc16f8589ac76d9dc5c09ffd841982beaefef87e6296f7a766e9d1e0e783/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6a71756572792d2532333037363941442e7376673f7374796c653d706c6173746963266c6f676f3d6a7175657279266c6f676f436f6c6f723d7768697465) [![Express.js](https://camo.githubusercontent.com/87015d0289623a0d05799eea8fa1836936e582e4b94745c0c3fad525726ff38f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f657870726573732e6a732d2532333430346435392e7376673f7374796c653d706c6173746963266c6f676f3d65787072657373266c6f676f436f6c6f723d253233363144414642)](https://camo.githubusercontent.com/87015d0289623a0d05799eea8fa1836936e582e4b94745c0c3fad525726ff38f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f657870726573732e6a732d2532333430346435392e7376673f7374796c653d706c6173746963266c6f676f3d65787072657373266c6f676f436f6c6f723d253233363144414642) [![Laravel](https://camo.githubusercontent.com/a14536a7a451993a1b1f103b0203d19badab45aedefc80c0582b59a5576e7d47/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d2532334646324432302e7376673f7374796c653d706c6173746963266c6f676f3d6c61726176656c266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/a14536a7a451993a1b1f103b0203d19badab45aedefc80c0582b59a5576e7d47/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d2532334646324432302e7376673f7374796c653d706c6173746963266c6f676f3d6c61726176656c266c6f676f436f6c6f723d7768697465) [![NuxtJS](https://camo.githubusercontent.com/2c60557605bc43faeead7698ac605eac420f6399b15d89bb1f821107571a4686/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4e7578742d626c61636b3f7374796c653d706c6173746963266c6f676f3d6e7578742e6a73266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/2c60557605bc43faeead7698ac605eac420f6399b15d89bb1f821107571a4686/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4e7578742d626c61636b3f7374796c653d706c6173746963266c6f676f3d6e7578742e6a73266c6f676f436f6c6f723d7768697465) [![Socket.io](https://camo.githubusercontent.com/46a627e81a1ccabd390237b1dde0f6ac4d6f0b6cb5149c351bb18d7796943d41/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f536f636b65742e696f2d626c61636b3f7374796c653d706c6173746963266c6f676f3d736f636b65742e696f266261646765436f6c6f723d303130313031)](https://camo.githubusercontent.com/46a627e81a1ccabd390237b1dde0f6ac4d6f0b6cb5149c351bb18d7796943d41/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f536f636b65742e696f2d626c61636b3f7374796c653d706c6173746963266c6f676f3d736f636b65742e696f266261646765436f6c6f723d303130313031) [![Apache](https://camo.githubusercontent.com/4113ea48e9658705f8c2852c1c60716050ce491fb3428475089885cbe3dbd7ba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6170616368652d2532334434323032392e7376673f7374796c653d706c6173746963266c6f676f3d617061636865266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/4113ea48e9658705f8c2852c1c60716050ce491fb3428475089885cbe3dbd7ba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6170616368652d2532334434323032392e7376673f7374796c653d706c6173746963266c6f676f3d617061636865266c6f676f436f6c6f723d7768697465) [![MariaDB](https://camo.githubusercontent.com/e70311d9572dbd0ffdcec91bc54c401993c7b9f4f60a9b1d0afc09031e38994c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6172696144422d3030333534353f7374796c653d706c6173746963266c6f676f3d6d617269616462266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/e70311d9572dbd0ffdcec91bc54c401993c7b9f4f60a9b1d0afc09031e38994c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6172696144422d3030333534353f7374796c653d706c6173746963266c6f676f3d6d617269616462266c6f676f436f6c6f723d7768697465) [![MongoDB](https://camo.githubusercontent.com/10a0a89ceb1091c1423334e09d55fb583dc6c3a32ea2b23d712e6c2cce36354c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6f6e676f44422d2532333465613934622e7376673f7374796c653d706c6173746963266c6f676f3d6d6f6e676f6462266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/10a0a89ceb1091c1423334e09d55fb583dc6c3a32ea2b23d712e6c2cce36354c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6f6e676f44422d2532333465613934622e7376673f7374796c653d706c6173746963266c6f676f3d6d6f6e676f6462266c6f676f436f6c6f723d7768697465) [![MySQL](https://camo.githubusercontent.com/f3da1d19e43aaf1e52e12fee11acc670ba5e596a4db31b240edc8a44d378a7f1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d7973716c2d2532333030662e7376673f7374796c653d706c6173746963266c6f676f3d6d7973716c266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/f3da1d19e43aaf1e52e12fee11acc670ba5e596a4db31b240edc8a44d378a7f1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d7973716c2d2532333030662e7376673f7374796c653d706c6173746963266c6f676f3d6d7973716c266c6f676f436f6c6f723d7768697465) [![SQLite](https://camo.githubusercontent.com/3cb98be6660368cb068e945344301003de1c7031c9cce9358ae2756baf06cff7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73716c6974652d2532333037343035652e7376673f7374796c653d706c6173746963266c6f676f3d73716c697465266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/3cb98be6660368cb068e945344301003de1c7031c9cce9358ae2756baf06cff7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73716c6974652d2532333037343035652e7376673f7374796c653d706c6173746963266c6f676f3d73716c697465266c6f676f436f6c6f723d7768697465) [![Inkscape](https://camo.githubusercontent.com/ae9f55a3b1c08c70289ffd19f01c8d5fc151b8199cd1daae293b23769d4431ce/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f496e6b73636170652d6530653065303f7374796c653d706c6173746963266c6f676f3d696e6b7363617065266c6f676f436f6c6f723d303830413133)](https://camo.githubusercontent.com/ae9f55a3b1c08c70289ffd19f01c8d5fc151b8199cd1daae293b23769d4431ce/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f496e6b73636170652d6530653065303f7374796c653d706c6173746963266c6f676f3d696e6b7363617065266c6f676f436f6c6f723d303830413133) [![Jira](https://camo.githubusercontent.com/d4647c0ec56c54bb75b8e10edfd635a50d1739da7090a20b1a5cbe4de926c47e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6a6972612d2532333041304646462e7376673f7374796c653d706c6173746963266c6f676f3d6a697261266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/d4647c0ec56c54bb75b8e10edfd635a50d1739da7090a20b1a5cbe4de926c47e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6a6972612d2532333041304646462e7376673f7374796c653d706c6173746963266c6f676f3d6a697261266c6f676f436f6c6f723d7768697465) [![Vagrant](https://camo.githubusercontent.com/211906ecb0bf1d6572e2f38f3b0afe026836433d5ca044a1b6a0945a4ae95109/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76616772616e742d2532333135363346462e7376673f7374796c653d706c6173746963266c6f676f3d76616772616e74266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/211906ecb0bf1d6572e2f38f3b0afe026836433d5ca044a1b6a0945a4ae95109/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76616772616e742d2532333135363346462e7376673f7374796c653d706c6173746963266c6f676f3d76616772616e74266c6f676f436f6c6f723d7768697465)

---

[![](https://camo.githubusercontent.com/303d47543be791d4970658c6caff6fbc99890076e46b6dcc9da2286b74ea7047/68747470733a2f2f7669736974636f756e742e69747376672e696e2f6170693f69643d4e696c47656d732669636f6e3d3026636f6c6f723d30)](https://visitcount.itsvg.in)

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance43

Moderate activity, may be stable

Popularity34

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 79.5% 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 ~127 days

Recently: every ~103 days

Total

9

Last Release

417d ago

Major Versions

v0.0.2 → v1.12022-06-13

v0.0.4 → v1.0.02024-02-10

v1.0.1 → v12.0.02025-03-27

PHP version history (3 changes)v0.0.1PHP ^8.0

v0.0.2PHP ^7.4|^8.0

v1.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/d750a9c8b0657a3c7b7beab78578891869ef960a6135d31580a9fffff42fc56f?d=identicon)[nldrmondal35](/maintainers/nldrmondal35)

---

Top Contributors

[![niladrimcn](https://avatars.githubusercontent.com/u/111486012?v=4)](https://github.com/niladrimcn "niladrimcn (31 commits)")[![NilGems](https://avatars.githubusercontent.com/u/22020823?v=4)](https://github.com/NilGems "NilGems (6 commits)")[![debdebtanu](https://avatars.githubusercontent.com/u/56768564?v=4)](https://github.com/debdebtanu "debdebtanu (1 commits)")[![denistorresan](https://avatars.githubusercontent.com/u/1846826?v=4)](https://github.com/denistorresan "denistorresan (1 commits)")

---

Tags

extractorhtmlimagelaravellaravel-packagems-excelms-wordphp8textpluginlaravelpdfxmlpackagehtmldocxlsxlsxcsvdocxodtrtfodstextextractpngjpgxlsmOTTXLSBtextractxltx

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[kartik-v/yii2-export

A library to export server/db data in various formats (e.g. excel, html, pdf, csv etc.)

1623.1M35](/packages/kartik-v-yii2-export)[gotenberg/gotenberg-php

A PHP client for interacting with Gotenberg, a developer-friendly API for converting numerous document formats into PDF files, and more!

3685.2M19](/packages/gotenberg-gotenberg-php)[aspose-cloud/aspose-words-cloud

Open, generate, edit, split, merge, compare and convert Word documents. Integrate Cloud API into your solutions to manipulate documents. Convert PDF to Word (DOC, DOCX, ODT, RTF and HTML) and in the opposite direction.

32157.4k](/packages/aspose-cloud-aspose-words-cloud)[mnvx/lowrapper

PHP wrapper over LibreOffice converter

129190.5k](/packages/mnvx-lowrapper)[jgrygierek/batch-entity-import-bundle

Importing entities with preview and edit features for Symfony.

101.1M1](/packages/jgrygierek-batch-entity-import-bundle)[enzim/tika-wrapper

This is a simple PHP Wrapper for Apache Tika (using the tika-app jar)

6021.3k](/packages/enzim-tika-wrapper)

PHPackages © 2026

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