Registry / utility / mikehaertl-phpwkhtmltopdf

mikehaertl-phpwkhtmltopdf

JSON →
library2.5.0phppackagistunverified

A slim PHP wrapper around wkhtmltopdf with an easy to use and clean OOP interface.

composer require mikehaertl/phpwkhtmltopdf
INSTALL
IMPORT
SIG · MIKEHAERTL-PHPWKHT
M
mikehaertl-phpwkhtmltopdf
utilityphpv2.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Pdf
use mikehaertl\wkhtmlto\Pdf;

Convert a URL to PDF and save it.

use mikehaertl\wkhtmlto\Pdf; $pdf = new Pdf('https://example.com'); $pdf->saveAs('example.pdf');
Debug
Known issues
breakingRequires wkhtmltopdf binary installed
fix
Install wkhtmltopdf on the server.
affects: *
Upgrade
Version history
2.5.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
20
Resources
mikehaertl-phpwkhtmltopdf — pip install mikehaertl-phpwkhtmltopdf · libregistry