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

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

phpfriends/simple-pdf
=====================

Generate PDF directly from PHP (in native PHP)

1.0.1(9y ago)119[2 issues](https://github.com/PHPfriends/simple-pdf/issues)MITPHPPHP &gt;=5.6

Since Oct 23Pushed 9y ago2 watchersCompare

[ Source](https://github.com/PHPfriends/simple-pdf)[ Packagist](https://packagist.org/packages/phpfriends/simple-pdf)[ Docs](https://github.com/jlaso/simple-pdf)[ RSS](/packages/phpfriends-simple-pdf/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

simple-pdf
==========

[](#simple-pdf)

Generate PDF directly from PHP (in native PHP)

[![Build Status](https://camo.githubusercontent.com/7071fe73d85500a89c0565726299c1a825649031db1985dc92e9ff572981a051/68747470733a2f2f7472617669732d63692e6f72672f504850667269656e64732f73696d706c652d7064662e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/PHPfriends/simple-pdf)

Run the sample code

```
php src/Example/Example1.php

```

Should create a double page PDF document in the same Example folder that has to be visible with any PDF viewer.

Compatibility notes
-------------------

[](#compatibility-notes)

### FontDescriptor

[](#fontdescriptor)

- Beginning with PDF 1.5, the special treatment given to the standard 14 fonts is deprecated. All fonts used in a PDF document should be represented us- ing a complete font descriptor. For backwards capability, viewer applications must still provide the special treatment identified for the standard 14 fonts.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

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

3485d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cb42575aef1971e57f9cb7c0988d17439c852afd85d8b369cc869dd621f41093?d=identicon)[phpfriends](/maintainers/phpfriends)

---

Top Contributors

[![jlaso](https://avatars.githubusercontent.com/u/1332197?v=4)](https://github.com/jlaso "jlaso (38 commits)")

---

Tags

pdf

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

7.3k87.6M275](/packages/barryvdh-laravel-dompdf)[tecnickcom/tcpdf

TCPDF is a PHP class for generating PDF documents and barcodes.

4.5k101.8M472](/packages/tecnickcom-tcpdf)[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k77.1M490](/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.5k68.3M55](/packages/knplabs-knp-snappy)[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M100](/packages/spatie-browsershot)[smalot/pdfparser

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

2.7k34.5M216](/packages/smalot-pdfparser)

PHPackages © 2026

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