cpierce / pdf2text
Client library for extracting text form PDF
Installs: 14 045
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 3
Forks: 10
Open Issues: 0
Requires
- php: >=7.4
Requires (Dev)
- phpunit/phpunit: >=10.0
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);