Wkhtmltopdf integration with PHP
PHP
Latest commit d5811dc Jul 10, 2016 @aur1mas committed on GitHub Merge pull request #29 from amorriscode/master
Update Wkhtmltopdf.php
Failed to load latest commit information.
.DS_Store
.gitignore issue #6 Sep 28, 2011
README issue #3 Aug 22, 2011
Wkhtmltopdf.php

README

About
-----
A PHP class which helps working with WKHTMLTOPDF <http://code.google.com/p/wkhtmltopdf/>

This class is based on <http://code.google.com/p/wkhtmltopdf/wiki/IntegrationWithPhp>
class.

I have removed $_GLOBALS & other static configuration options.

Author
------
Aurimas Baubkus aka aur1mas <aur1mas@devnet.lt>
Released under "New BSD license"

Usage
-----
<?php
    try {
        $wkhtmltopdf = new Wkhtmltopdf(array('path' => APPLICATION_PATH . '/../public/uploads/'));
        $wkhtmltopdf->setTitle("Title");
        $wkhtmltopdf->setHtml("Content");
        $wkhtmltopdf->output(Wkhtmltopdf::MODE_DOWNLOAD, "file.pdf");
    } catch (Exception $e) {
        echo $e->getMessage();
    }
?>
On Gist: https://gist.github.com/733109

Feedback
--------
Issue tracker: https://github.com/aur1mas/Wkhtmltopdf/issues