PHPackages                             ctbuh/wkhtmltopdf-api-php-client - 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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. ctbuh/wkhtmltopdf-api-php-client

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

ctbuh/wkhtmltopdf-api-php-client
================================

v1.0.4(6y ago)16PHP

Since Oct 2Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ctbuh/wkhtmltopdf-api-php-client)[ Packagist](https://packagist.org/packages/ctbuh/wkhtmltopdf-api-php-client)[ RSS](/packages/ctbuh-wkhtmltopdf-api-php-client/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

wkhtmltopdf-api-php-client
==========================

[](#wkhtmltopdf-api-php-client)

Installation
------------

[](#installation)

```
composer require ctbuh\wkhtmltopdf-api-php-client
```

### API

[](#api)

- `convert($bytes, $options = array())`
- `inline($bytes, $options = array(), $filename = 'document.pdf')`
- `download($bytes, $options = array(), $filename = 'document.pdf')`

### Visual Demo

[](#visual-demo)

### Code Examples

[](#code-examples)

```
use ctbuh\PdfApi\PdfApi;

$pdf = new Pdf();
$pdf->inline("hello world");
// script stops

$html = view('admin.membership-certificates.document', $data)->render();

$pdf = new PdfApi();
$pdf->inline($html, [
    'orientation' => 'Landscape',
    'page-size' => 'letter',
    'no-outline' => true
]);
```

### Other PDF stuff

[](#other-pdf-stuff)

```
wget https://github.com/coherentgraphics/cpdf-binaries/raw/master/Linux-Intel-64bit/cpdf
chmod +x cpdf
sudo cp cpdf /usr/local/bin/
```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

2463d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1063088?v=4)[Athlon1600](/maintainers/Athlon1600)[@Athlon1600](https://github.com/Athlon1600)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/ctbuh-wkhtmltopdf-api-php-client/health.svg)

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

###  Alternatives

[42coders/document-templates

Document template management package.

19940.0k](/packages/42coders-document-templates)[qipsius/tcpdf-bundle

A bundle to easily integrate TCPDF into Symfony

23749.5k](/packages/qipsius-tcpdf-bundle)[macopedia/magmi2

Magento Mass Importer 'Magmi' for Magento 2

11615.7k](/packages/macopedia-magmi2)[tarfin-labs/easy-pdf

Makes pdf processing easy.

1719.4k](/packages/tarfin-labs-easy-pdf)[akeneo-labs/excel-connector-bundle

Akeneo PIM Excel connector bundle

166.4k](/packages/akeneo-labs-excel-connector-bundle)

PHPackages © 2026

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