a pdf parser in php
PHP
Latest commit 6f76e91 Jul 15, 2012 Adeel Ahmad Khan Merge pull request #2 from leowebx/master
Fix instantiation in README
Failed to load latest commit information.
README.markdown The instance of the Class PdfFileReader was corrected Jun 25, 2012
filters.php import Jan 18, 2010
generic.php import Jan 18, 2010
pdf.php pdf.php: make sure file is not empty. Jan 23, 2010
utils.php import Jan 18, 2010
xmp.php fix typo Dec 27, 2011

README.markdown

This is a mostly complete port of pyPdf. The API is basically the same.

<?php

include 'pdf-parser/pdf.php';

$pdf = new PdfFileReader(fopen('test.pdf', 'rb'));
print $pdf->page_count;

?>