PHPackages                             netgen/htmlpdfapi - 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. netgen/htmlpdfapi

AbandonedArchivedSymfony-bundle[PDF &amp; Document Generation](/categories/documents)

netgen/htmlpdfapi
=================

Netgen HTMLPDFAPI

0.2(11y ago)1021251PHP

Since Jul 4Pushed 6y ago7 watchersCompare

[ Source](https://github.com/netgen/HtmlPdfApi)[ Packagist](https://packagist.org/packages/netgen/htmlpdfapi)[ RSS](/packages/netgen-htmlpdfapi/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (1)Versions (3)Used By (1)

Netgen HtmlPdfApi library
=========================

[](#netgen-htmlpdfapi-library)

[![Build Status](https://camo.githubusercontent.com/dfdae7c730323ce86c4f2b49fc3b38b59fed5fbc1172399bf06e5775c1a6970f/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6e657467656e2f48746d6c5064664170692e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/netgen/HtmlPdfApi)[![Code Coverage](https://camo.githubusercontent.com/4ce1d6ff77ce502a124f35a75cfa01708deef49c931975c73365bbca2d23760e/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6e657467656e2f48746d6c5064664170692e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/gh/netgen/HtmlPdfApi)[![Quality Score](https://camo.githubusercontent.com/e865754c43453cdad8385b24ea253c86315b3543636710c2f618e24279f43c47/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6e657467656e2f48746d6c5064664170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/netgen/HtmlPdfApi)[![Downloads](https://camo.githubusercontent.com/a6bf8dea1b3502ee327ffa5d7a21ac0054e6012228b91da4fc557c7e87093c7a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e657467656e2f68746d6c7064666170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/netgen/htmlpdfapi/stats)[![Latest stable](https://camo.githubusercontent.com/e3625af936a39c098e6618e521d3a8d24b71c8d34243c284654b8b2e13fbab3f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6e657467656e2f48746d6c5064664170692e7376673f7374796c653d666c61742d737175617265)](https://github.com/netgen/HtmlPdfApi/releases)[![License](https://camo.githubusercontent.com/cc3cbc0eb6892bcbf56b68ed9a713508f6a7da1cfcfd79692fd14d18cb9185fb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e657467656e2f68746d6c7064666170692e7376673f7374796c653d666c61742d737175617265)](LICENSE)

Netgen HtmlPdfApi library is a PHP library which exposes [HTML PDF API](https://htmlpdfapi.com/) functionalities. HTMLPDFAPI provides an easy way for generating PDF documents from HTML code.

Implemented features
--------------------

[](#implemented-features)

- Generate PDF from HTML code
- Generate PDF from URL
- Upload asset to HTMLPDFAPI server
- Download asset from HTMLPDFAPI server
- Get the ID of a specific asset (by name)
- Get list of uploaded assets
- Check your account credits count

Installation and use instructions
---------------------------------

[](#installation-and-use-instructions)

[Installation instructions](Resources/doc/INSTALL.md)

[Usage instructions](Resources/doc/USAGE.md)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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

Every ~53 days

Total

2

Last Release

4283d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/362286?v=4)[Edi Modrić](/maintainers/emodric)[@emodric](https://github.com/emodric)

![](https://avatars.githubusercontent.com/u/594589?v=4)[Netgen](/maintainers/netgen)[@netgen](https://github.com/netgen)

![](https://avatars.githubusercontent.com/u/5854428?v=4)[Ivan Herak](/maintainers/iherak)[@iherak](https://github.com/iherak)

---

Top Contributors

[![iherak](https://avatars.githubusercontent.com/u/5854428?v=4)](https://github.com/iherak "iherak (15 commits)")[![emodric](https://avatars.githubusercontent.com/u/362286?v=4)](https://github.com/emodric "emodric (5 commits)")[![MarioBlazek](https://avatars.githubusercontent.com/u/6605175?v=4)](https://github.com/MarioBlazek "MarioBlazek (5 commits)")

### Embed Badge

![Health badge](/badges/netgen-htmlpdfapi/health.svg)

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

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