Slurpy is a PHP5 wrapper for the pdftk command-line tool for working with PDF.