PHPackages                             1tomany/pdf-ai-bundle - 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. 1tomany/pdf-ai-bundle

ActiveSymfony-bundle[PDF &amp; Document Generation](/categories/documents)

1tomany/pdf-ai-bundle
=====================

Symfony bundle for the 1tomany/pdf-ai library

v0.5.3(3mo ago)163↓100%MITPHPPHP &gt;=8.2

Since Mar 27Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/1tomany/pdf-ai-bundle)[ Packagist](https://packagist.org/packages/1tomany/pdf-ai-bundle)[ RSS](/packages/1tomany-pdf-ai-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (5)Versions (17)Used By (0)

PDF Extraction Bundle for Symfony
=================================

[](#pdf-extraction-bundle-for-symfony)

This package wraps the `1tomany/pdf-pack` library into an easy to use Symfony bundle.

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

[](#installation)

Install the bundle using Composer:

```
composer require 1tomany/pdf-pack-bundle
```

Configuration
-------------

[](#configuration)

Below is the complete configuration for this bundle. To customize it for your Symfony application, create a file named `onetomany_pdfpack.yaml` in `config/packages/` and make the necessary changes.

```
onetomany_pdfpack:
    client: "poppler"
    poppler_client:
        pdfinfo_binary: "pdfinfo"
        pdftoppm_binary: "pdftppm"
        pdftotext_binary: "pdftotext"
```

Usage
-----

[](#usage)

Symfony will autowire the necessary classes after the bundle is installed. Any constructor argument typed with `OneToMany\PdfPack\Contract\Action\ExtractActionInterface` or `OneToMany\PdfPack\Contract\Action\ReadActionInterface` will allow you to interact with the concrete extractor client via the `act()` method.

```
