PDF to Text Library
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
<?php
$pdf = 'test.pdf';
$pdf2text = new \Pdf2text\Pdf2text($pdf);
$output = $pdf2text->decode();
var_dump($output);