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 5y 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 2d 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 37% 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

2416d 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

[phpoffice/phpspreadsheet

PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine

13.9k293.5M1.3k](/packages/phpoffice-phpspreadsheet)[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M102](/packages/spatie-browsershot)[smalot/pdfparser

Pdf parser library. Can read and extract information from pdf file.

2.7k34.5M216](/packages/smalot-pdfparser)[barryvdh/laravel-snappy

Snappy PDF/Image for Laravel

2.8k24.8M48](/packages/barryvdh-laravel-snappy)[openspout/openspout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

1.1k57.6M131](/packages/openspout-openspout)[keboola/csv

Keboola CSV reader and writer

1451.8M21](/packages/keboola-csv)

PHPackages © 2026

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