carrooi/pdf-extractor

PDF text extractor

1.0.0 2015-02-12 08:15 UTC

This package is auto-updated.

Last update: 2020-09-05 19:13:58 UTC


README

Build Status Donate

PDF text extractor.

Depends on pdftotext library.

Installation

$ composer require carrooi/pdf-extractor
$ composer update

Usage

use Carrooi\PdfExtractor\PdfExtractor;

$extractor = new PdfExtractor;

$text = $extractor->extractText('/path/to/file.pdf');

Options

-layout

$extractor->preserveLayout(true);

Changelog

  • 1.0.0
    • Initial version