PHPackages                             frengky/php-wkhtmltox - 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. frengky/php-wkhtmltox

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

frengky/php-wkhtmltox
=====================

Simple wkhtmltox wrapper for PHP

v1.0.0(6y ago)018MITPHPPHP &gt;=5.5.9CI failing

Since Apr 26Pushed 6y ago1 watchersCompare

[ Source](https://github.com/frengky/php-wkhtmltox)[ Packagist](https://packagist.org/packages/frengky/php-wkhtmltox)[ Docs](https://github.com/frengky/php-wkhtmltox)[ RSS](/packages/frengky-php-wkhtmltox/feed)WikiDiscussions master Synced 5d ago

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

PHP WkHtmlToX
=============

[](#php-wkhtmltox)

[Wkhtmltopdf](https://wkhtmltopdf.org/) is the top choice to render your html into a pdf or image. This package is a clean and easy wrapper for **wkhtmltopdf** and **wkhtmltoimage**. This package is working directly with wkhtmltopdf's process (stdin and stdout) without creating any temporary files.

Requirements
------------

[](#requirements)

Install the [Wkhtmltopdf](https://wkhtmltopdf.org/) binaries for your operating system, make sure **wkhtmltopdf** and **wkhtmltoimage** executable in your PATH.

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

[](#installation)

Install the package via `Composer`

```
composer require frengky/php-wkhtmltox

```

Usage
-----

[](#usage)

Convert HTML string into a PDF file:

```
