PHPackages                             nabble/web2pdf - 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. nabble/web2pdf

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

nabble/web2pdf
==============

Simple script to convert web pages to PDF file using the wkhtmltopdf binary

4132PHP

Since Feb 7Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

web2pdf
=======

[](#web2pdf)

Super simple barebones no-nonsense fast, quick and dirty script to convert web pages to PDF file using the wkhtmltopdf binary

installation
------------

[](#installation)

Run `composer install` and then make sure the files in `vendor/bin` are executable and the `log` directory is writable:

```
composer install
chmod u+x vendor/bin/*
chmod u+x log
```

You might also need to install additional dependencies with:

```
sudo apt-get install wkhtmltopdf
```

usage
-----

[](#usage)

Start the development server with:

```
php -S localhost:8000
```

Call the script with the required query string parameters `url` and `filename`, i.e.:

`http://localhost:8000/?url=http%3A%2F%2Fwww.google.com&filename=google+homepage`

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity24

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/nabble-web2pdf/health.svg)

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

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