PHPackages                             dexamped/kohana-wkhtml2pdf - 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. dexamped/kohana-wkhtml2pdf

ActiveKohana-module[PDF &amp; Document Generation](/categories/documents)

dexamped/kohana-wkhtml2pdf
==========================

Kohana wrapper for wkhtml2pdf

13.9k1PHP

Since Jul 16Pushed 10y ago1 watchersCompare

[ Source](https://github.com/dexamped/kohana-wkhtml2pdf)[ Packagist](https://packagist.org/packages/dexamped/kohana-wkhtml2pdf)[ RSS](/packages/dexamped-kohana-wkhtml2pdf/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

kohana-wkhtml2pdf
=================

[](#kohana-wkhtml2pdf)

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

[](#installation)

- Composer install: `composer require dexamped/kohana-wkhtml2pdf`
- Download and make the wkhtml2pdf binary -
- Copy binary to MODPATH/kohana-wkhtml2pdf/vendor/bin directory
- Load module in bootstrap

```
Kohana::modules(array(
	// ...
	'wkhtml2pdf' => MODPATH.'kohana-wkhtml2pdf', // PDF Generator
	// ...
));
```

Usage
-----

[](#usage)

```
/**
 * Generate and return PDF inline
 */
public function action_index()
{
	// HTML view to convert to PDF
	$view = View::factory('pdf/document');

	// Generate, return and delete file
	$this->response->send_file(WKHTML2PDF::pdf($view->render()), 'document.pdf', array('delete' => TRUE));
}
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/21d87441d835742dbe30ca8661be16e3fdcf634496642197eb054b1e6c942027?d=identicon)[dexamped](/maintainers/dexamped)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/dexamped-kohana-wkhtml2pdf/health.svg)

```
[![Health](https://phpackages.com/badges/dexamped-kohana-wkhtml2pdf/health.svg)](https://phpackages.com/packages/dexamped-kohana-wkhtml2pdf)
```

###  Alternatives

[tarfin-labs/easy-pdf

Makes pdf processing easy.

1719.9k](/packages/tarfin-labs-easy-pdf)

PHPackages © 2026

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