houseoftech/wkhtmltopdf-arm64

Convert html to pdf using webkit (qtwebkit). Static linked linux binary for arm64 systems.

0.12.6 2021-12-17 09:18 UTC

This package is auto-updated.

Last update: 2024-04-17 15:11:38 UTC


README

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

Installation

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

Packagist

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

Require the package for arm64 with:

php composer.phar require h4cc/wkhtmltopdf-arm64 "0.12.6"

The binary will then be located at:

vendor/houseoftech/wkhtmltopdf-arm64/bin/wkhtmltopdf-arm64

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

vendor/bin/wkhtmltopdf-arm64

Usage

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

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

For realpath use following script

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