PHPackages                             kindling/pdf - 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. kindling/pdf

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

kindling/pdf
============

Package to make creating PDFs easy

00[1 PRs](https://github.com/KindlingApp/PDF/pulls)PHP

Since Jul 19Pushed 3y ago1 watchersCompare

[ Source](https://github.com/KindlingApp/PDF)[ Packagist](https://packagist.org/packages/kindling/pdf)[ RSS](/packages/kindling-pdf/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Kindling PDF
============

[](#kindling-pdf)

Description
-----------

[](#description)

This is a pretty simple package that mostly wraps around Laravel-Snappy, and adds the MacOS `wkhtmltopdf` binary in the `/bin` folder. This is because there is no composer package for the Mac OS binary.

This uses `h4cc/wkhtmltopdf-amd64` package which provides/adds the Linux binary for Ubuntu.

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

[](#installation)

Pretty simple, `composer require kindling/pdf`.

> You will have to add an ENV variable:

> `WKHTMLTOPDF_PATH="vendor/kindling/pdf/bin/wkhtmltopdf-osx"`

> Which you can specify, but because this package is trying to make this quick/easy, the path needs to be in the `base_path()` of your app. If you're on Linux (Ubuntu), you probably don't need to worry about this ENV variable, it should work out of the box.

The idea here is that this makes it quick and easy to be able to add a single package to a Kindling app, and be able to generate PDF files almost instantly.

The config file, when published will be `config/snappy.php` this is due to this package wrapping Laravel Snappy.

Publish the config with `php artisan vendor:publish` and choose the Kindling\\PDF package.

Usage
-----

[](#usage)

Please see the Laravel Snappy docs for usage, .

Reminder, this package is the bare essentials wrapper around Laravel Snappy, and attempting to provide out of the box usage.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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/d616aab541a2c6c34aba4b6d2b8bfa2f6182a6f3ffd2687dcb731a44a857676a?d=identicon)[ahuggins](/maintainers/ahuggins)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/kindling-pdf/health.svg)

```
[![Health](https://phpackages.com/badges/kindling-pdf/health.svg)](https://phpackages.com/packages/kindling-pdf)
```

###  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)
