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 1mo ago

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

Maturity23

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

[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M102](/packages/spatie-browsershot)[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.2k57.6M131](/packages/openspout-openspout)[keboola/csv

Keboola CSV reader and writer

1451.8M21](/packages/keboola-csv)[setasign/tfpdf

This class is a modified version of FPDF that adds UTF-8 support. The latest version is based on FPDF 1.85.

426.1M30](/packages/setasign-tfpdf)[aspera/xlsx-reader

Spreadsheet reader library for XLSX files

52742.2k5](/packages/aspera-xlsx-reader)

PHPackages © 2026

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