GitXplorerGitXplorer
h

wkhtmltopdf-amd64

public
476 stars
171 forks
16 issues

Commits

List of commits on branch master.
Verified
4e2ab2d032a5d7fbe2a741de8b10b8989523c95b

Merge pull request #28 from mhlavac/master

hh4cc committed 7 years ago
Unverified
b0e27c9ce5d0603fdfa7a877e9d63fbaad197f1b

Updated binary to 0.12.4

hh4cc committed 7 years ago
Unverified
b571d4d57b7331c2aebc6589aeb7c464577ac1a6

Added WKHTMLToPDF class with path to the binary to make usage even easier

committed 7 years ago
Unverified
0c1f1801f3317f0171b4a48ab0fe6d248980ea9e

Linking github.com/rvanlaak/wkhtmltopdf-amd64-centos7

hh4cc committed 9 years ago
Unverified
b80ce6720349e98cebac7e8a19426455805fa7e1

Updated static compiled binary to version 0.12.3

hh4cc committed 9 years ago
Unverified
9b5a934ba90da4e9e4bd5bb5dae8d5ae3692ba35

Highlighted original package link.

hh4cc committed 9 years ago

README

The README file for this repository.

wkhtmltopdf

This repository contains the static compiled binaries from the wkhtmltopdf project. More about the functionality of wkhtmltopdf and wkthmltoimage can be found there.

Binaries for Microsoft Windows, also installable with composer, can be found here: github.com/wemersonjanuario/wkhtmltopdf-windows

Binaries for CentOS 7, also installable with composer, can be found here: github.com/rvanlaak/wkhtmltopdf-amd64-centos7

Installation

Hint: The version of the binary is equal to the git tag. To install the latest version, use '0.12.4'.

Packagist

This package can be found on Packagist and installed with Composer.

Require the package for i386 with:

php composer.phar require h4cc/wkhtmltopdf-i386 "0.12.4"

And for amd64 with:

php composer.phar require h4cc/wkhtmltopdf-amd64 "0.12.4"

The binary will then be located at:

vendor/h4cc/wkhtmltopdf-i386/bin/wkhtmltopdf-i386

Also a symlink will be created in your configured bin/ folder, for example:

vendor/bin/wkhtmltopdf-i386

Usage

You can use the path constant to easily locate the binary in the PHP codebase:

$path = \h4cc\WKHTMLToPDF\WKHTMLToPDF::PATH;

For realpath use following script

$realpath = realpath(\h4cc\WKHTMLToPDF\WKHTMLToPDF::PATH);