cpierce/pdf2text

Client library for extracting text form PDF

Installs: 17 547

Dependents: 0

Suggesters: 0

Security: 0

Stars: 9

Watchers: 3

Forks: 10

Open Issues: 0

pkg:composer/cpierce/pdf2text

1.2 2023-08-28 01:20 UTC

This package is auto-updated.

Last update: 2025-10-28 06:49:45 UTC


README

PDF to Text Library

Related Information

This code is an improved version of what can be found at: http://www.webcheatsheet.com/php/reading_clean_text_from_pdf.php

http://www.adobe.com/devnet/acrobat/pdfs/PDF32000_2008.pdf

Usage

<?php
$pdf = 'test.pdf';
$pdf2text = new \Pdf2text\Pdf2text($pdf);
$output = $pdf2text->decode();
var_dump($output);