PHPackages                             ahmedbhs/wkhtmltopdf-amd64 - 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. ahmedbhs/wkhtmltopdf-amd64

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

ahmedbhs/wkhtmltopdf-amd64
==========================

wkhtmltopdf and wkhtmltoimage linux binaries - Convert HTML to PDF or IMAGE using Webkit (QtWebKit)

0.12.6(4y ago)0195LGPL-3.0-onlyPHP

Since Feb 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ahmed-bhs/wkhtmltopdf-debian)[ Packagist](https://packagist.org/packages/ahmedbhs/wkhtmltopdf-amd64)[ Docs](http://wkhtmltopdf.org/)[ RSS](/packages/ahmedbhs-wkhtmltopdf-amd64/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

wkhtmltox
=========

[](#wkhtmltox)

This repository contains the [latest stable compiled binaries](https://github.com/wkhtmltopdf/wkhtmltopdf/releases/latest) of wkhtmltopdf from the [wkhtmltopdf project](https://github.com/wkhtmltopdf/wkhtmltopdf).

The binaries are built for Ubuntu 18.04 buster and stretch amd64 architectures are included.

Or sometimes you just want a quick solution for your dev environment ;)

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

[](#installation)

This package is published on [Packagist](https://packagist.org/packages/michael-schaefer-eu/wkhtmltox) and should be installed with [Composer](https://getcomposer.org/download/).

The version of the binary is equal to the git tag. Composer will install the latest version by default.

```
$ composer require-dev michael-schaefer-eu/wkhtmltox
```

*Note: you should not use this package (or any other of that kind) in production environments!*

Composer will install the package in your project path into the *vendor/michael-schaefer-eu/wkhtmltox/* directory.

The binaries are located in the *vendor/michael-schaefer-eu/wkhtmltox/bin/* directory.

Composer will symlink them to the *vendor/bin/* directory.

Check the Version:

```
$ wkhtmltopdf -V
wkhtmltopdf 0.12.6 (with patched qt)
```

### Usage

[](#usage)

With the [KNP-Snappy](https://github.com/KnpLabs/snappy) package, you can now use the binaries to create PDFs from HTML.

You can use the path constants from this project to easily locate the binary paths (with PSR 4 Autoloader):

```
