PHPackages                             dmnc/pdml - 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. dmnc/pdml

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

dmnc/pdml
=========

100% PHP for easily creating complex PDF documents

1.1.0(10y ago)28.1k↓58.3%[1 PRs](https://github.com/dmnc/pdml/pulls)GPL-2.0+PHP

Since Apr 11Pushed 8y ago2 watchersCompare

[ Source](https://github.com/dmnc/pdml)[ Packagist](https://packagist.org/packages/dmnc/pdml)[ Docs](http://www.pdml-pdf.net/)[ RSS](/packages/dmnc-pdml/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

PDML
====

[](#pdml)

This is a composer and PSR-4 compatible version of PDML based on v1.0.

Classes (all one of them) have been moved into a `pdml` namespace.

To install simply `composer require dmnc/pdml`.

Original README.txt
-------------------

[](#original-readmetxt)

### Introduction

[](#introduction)

PDML is an informal markup language written in 100% PHP, allowing to create complex PDF documents very easily for people already familiar with HTML. People familiar with PHP can also use it as a way to define templates for dynamic PDF documents. The PDML project was developed by Henri T. (metal\_hurlant). Because we think this project is very useful we want to continue this project. PDML is built on top of FPDF, and is licensed under the GPL

### Contact

[](#contact)

Please contact us at our SF forum:

### Installation

[](#installation)

Just unzip these files in your web directory and include pdml.php into your PHP page. The file example1.php is provided as simple example.

### Licensing

[](#licensing)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (in the file COPYING); if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3725d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2c043ea4e6527fa8216a68888199b83147a146f99d5d756f986209872b902792?d=identicon)[dmnc](/maintainers/dmnc)

---

Top Contributors

[![dmnc](https://avatars.githubusercontent.com/u/144790?v=4)](https://github.com/dmnc "dmnc (17 commits)")

---

Tags

pdfPDML

### Embed Badge

![Health badge](/badges/dmnc-pdml/health.svg)

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

###  Alternatives

[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

7.3k95.2M358](/packages/barryvdh-laravel-dompdf)[tecnickcom/tcpdf

Deprecated legacy PDF engine for PHP. For new projects use tecnickcom/tc-lib-pdf.

4.5k107.0M548](/packages/tecnickcom-tcpdf)[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k81.2M543](/packages/mpdf-mpdf)[knplabs/knp-snappy

PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage.

4.5k71.0M59](/packages/knplabs-knp-snappy)[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k35.1M142](/packages/spatie-browsershot)[smalot/pdfparser

Pdf parser library. Can read and extract information from pdf file.

2.7k38.3M255](/packages/smalot-pdfparser)

PHPackages © 2026

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