PHPackages                             shuble/slurpy - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. shuble/slurpy

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

shuble/slurpy
=============

php wrapper for pdftk commandline tool, and pdf form filler

1.0.0(13y ago)1148.6k↓50%9[2 PRs](https://github.com/baikunz/Slurpy/pulls)MITPHPPHP &gt;=5.3.0

Since Apr 14Pushed 11y ago3 watchersCompare

[ Source](https://github.com/baikunz/Slurpy)[ Packagist](https://packagist.org/packages/shuble/slurpy)[ RSS](/packages/shuble-slurpy/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Slurpy
======

[](#slurpy)

Slurpy is a PHP wrapper for the [pdftk](http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/) command-line tool for working with PDF. This library is largely inspired by [Snappy](https://github.com/KnpLabs/snappy) from KnpLabs, a library for generating images or pdf from html. Some of the Slurpy code comes directly from Snappy.

In order to use Slurpy you will have to download [pdftk](http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/) for either Windows, Mac OSX or linux.

[![Build Status](https://camo.githubusercontent.com/3649e7b8a194c4aa71f0c00ddc0ea82eef28988e3dec7652cf2035256151be0d/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6261696b756e7a2f536c757270792e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/baikunz/Slurpy)

Installation
------------

[](#installation)

If you are using [composer](http://getcomposer.org) add the following lines to your `composer.json`:

```
{
    "require" :  {
        "shuble/slurpy": "*"
    }
}
```

And run these commands:

```
wget http://getcomposer.org/composer.phar
php composer.phar install

```

Now, just add the autoloader:

```
