a few words about web development

Extract title, author and number of pages from PDF with PHP

Another straight to the point solution
Here's a PHP class I wrote which can be used to get title & author and a number of pages of any PDF file.
It does not use any external application- just pure PHP.

This class is incredibly easy to use. Just take a look at this usage example:
$p = new PDFInfo;
echo $p->author;
echo $p->title;
echo $p->pages;
Output is UTF-8 encoded.

The class is licensed under MIT, so it is as free as could be :)
Click here to download the class and then you can leave a comment: