PHPackages                             vdeapps/php-wkhtmltopdf - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. vdeapps/php-wkhtmltopdf

ActiveLibrary[API Development](/categories/api)

vdeapps/php-wkhtmltopdf
=======================

Generate PDF from Url. Use an API

v1.0.0(7y ago)018MITPHPPHP &gt;=5.5.9

Since Jul 5Pushed 7y ago1 watchersCompare

[ Source](https://github.com/vdeapps/php-wkhtmltopdf)[ Packagist](https://packagist.org/packages/vdeapps/php-wkhtmltopdf)[ Docs](https://github.com/vdeapps/php-wkhtmltopdf)[ RSS](/packages/vdeapps-php-wkhtmltopdf/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

php-wkhtmltopdf
===============

[](#php-wkhtmltopdf)

Call API to generate PDF from HTML

Usage
-----

[](#usage)

```

/*
 * Webserice provide from Docker: docker pull vdeapps/wkhtmltopdf:0.12.5
 * Map the 8137 port to 80 port of Docker
 */
$url = "http://localhost:8137/wk";
$pdf = new Wkhtmltopdf($this->url);

$options = $pdf->getPdfOptions();

       // set $options

$pdf->setPdfOptions($options);

// Url to make PDF
$pdf->setUrl("http://www.google.com");

// Output name file
$pdf->setNameFile('test.pdf');

// Outup directory
$pdf->setOutput(__DIR__.'/output');

// Create file
$pdf->generate();

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2872d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f26bdcb07859dbbb970cb1f0dcc33934e88b88cecd9509b0f16e9b055583cdf8?d=identicon)[vdeapps](/maintainers/vdeapps)

---

Top Contributors

[![vdeapps](https://avatars.githubusercontent.com/u/2981296?v=4)](https://github.com/vdeapps "vdeapps (4 commits)")

---

Tags

apipdflibraryvdeapps

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/vdeapps-php-wkhtmltopdf/health.svg)

```
[![Health](https://phpackages.com/badges/vdeapps-php-wkhtmltopdf/health.svg)](https://phpackages.com/packages/vdeapps-php-wkhtmltopdf)
```

###  Alternatives

[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
