This is a simple PDF to text class based on SilverStripe framework
This version support composer and PSR-4 autoloading. Origin code is maintained by Darren Inwood.
{
"require": {
"asika/pdf2text": "1.*"
}
}
$reader = new \Asika\Pdf2text;
$reader->setFilename($file);
$reader->decodePDF();
$output = $reader->output();
GNU General Public License version 2 or later.