PHPackages                             yeslogic/prince-php-wrapper - 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. yeslogic/prince-php-wrapper

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

yeslogic/prince-php-wrapper
===========================

PHP wrapper class for Prince HTML to PDF formatter

1.6.0(1y ago)18237.3k↑17.1%6MITPHPPHP &gt;=5.3.0

Since Oct 26Pushed 1y ago15 watchersCompare

[ Source](https://github.com/yeslogic/prince-php-wrapper)[ Packagist](https://packagist.org/packages/yeslogic/prince-php-wrapper)[ RSS](/packages/yeslogic-prince-php-wrapper/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (10)Used By (0)

Prince PHP wrapper
==================

[](#prince-php-wrapper)

The `Prince.php` file defines a class called `Prince` that contains methods that can be called to convert HTML and XML documents into PDF.

Note that the `Prince` class requires PHP 5.3.0 or later.

Documentation
-------------

[](#documentation)

Documentation for the current version can be found [here](https://yeslogic.github.io/prince-php-wrapper). To access the documentation for a previous version, append the desired version number to the URL, e.g.

>

Note: web documentation is unavailable for version 1.0.0.

Download
--------

[](#download)

This wrapper is hosted on [Packagist](https://packagist.org/packages/yeslogic/prince-php-wrapper).

Copyright © 2005-2023 YesLogic Pty. Ltd.

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance48

Moderate activity, may be stable

Popularity45

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.9% 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 ~241 days

Recently: every ~306 days

Total

8

Last Release

388d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d3f2168d0f1d56ddbf019c598da9327fdaa357aaad2449a8b497376e517772d?d=identicon)[mikeday](/maintainers/mikeday)

---

Top Contributors

[![adrianwong](https://avatars.githubusercontent.com/u/8623831?v=4)](https://github.com/adrianwong "adrianwong (64 commits)")[![mikeday](https://avatars.githubusercontent.com/u/266133?v=4)](https://github.com/mikeday "mikeday (7 commits)")[![jbrinley](https://avatars.githubusercontent.com/u/288845?v=4)](https://github.com/jbrinley "jbrinley (1 commits)")

### Embed Badge

![Health badge](/badges/yeslogic-prince-php-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/yeslogic-prince-php-wrapper/health.svg)](https://phpackages.com/packages/yeslogic-prince-php-wrapper)
```

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