Skip to content

acrnogor/wkhtmltopdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.5'.

Packagist

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

And for amd64 with:

php composer.phar require acrnogor/wkhtmltopdf "0.1"

The binary will then be located at:

vendor/acrnogor/wkhtmltopdf/bin/wkhtmltopdf

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

vendor/bin/wkhtmltopdf

Usage

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

$path = Acrnogor\Wkhtmltopdf::PATH;

For realpath use following script

$realpath = realpath(Acrnogor\Wkhtmltopdf::PATH);

About

Wkhtmltopdf binary for converting html to PDF

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages