Download the PHP package wenfei-huang/wkhtmltox without Composer
On this page you can find all versions of the php package wenfei-huang/wkhtmltox. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wenfei-huang/wkhtmltox
More information about wenfei-huang/wkhtmltox
Files in wenfei-huang/wkhtmltox
Package wkhtmltox
Short Description wkhtmltopdf and wkhtmltoimage linux binaries - Convert HTML to PDF or IMAGE using Webkit (QtWebKit)
License LGPL-3.0-only
Homepage http://wkhtmltopdf.org/
Informations about the package wkhtmltox
wkhtmltox
This repository contains the version 0.12.6 of wkhtmltopdf and wkhtmltoimage from the wkhtmltopdf project, check for latest (https://github.com/wkhtmltopdf/wkhtmltopdf/releases/latest).
The binaries are built for Ubuntu 20.04 focal, amd64 only AMD64 architectures are included.
Why
h4cc/wkhtmltopdf-amd64 and h4cc/wkhtmltoimage-amd64 package is outdated and gives errors on php 8.0
When it's not possible to install the latest version via .deb package with apt
Or sometimes you just want a quick solution for your dev environment ;)
Installation
This package is published on Packagist and should be installed with Composer.
The version of the binary is equal to the git tag. Composer will install the latest version by default.
Composer will install the package in your project path into the vendor/wenfei-huang/wkhtmltox/ directory.
The binaries are located in the vendor/wenfei-huang/wkhtmltox/bin/ directory.
Composer will symlink them to the vendor/bin/ directory.
Optional: You can also symlink them to the /usr/local/bin/ directory, as apt would install normally there.
Check the Version:
Usage
If using with Laravel Snappy PDF package, you can change in the snappy config file:
With the KNP-Snappy package, you can now use the binaries to create PDFs or Images from HTML.
You can use the path constants from this project to easily locate the binary paths (with PSR 4 Autoloader):
OR If you symlinked the binaries to /usr/local/bin:
License
This package is published under the same GNU General Public License v3.0 LICENSE as the wkhtmltopdf project.