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)18251.5k↑27%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 2w 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

44

—

FairBetter than 90% of packages

Maintenance45

Moderate activity, may be stable

Popularity45

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity56

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

433d 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

[rodenastyle/stream-parser

PHP Multiformat Streaming Parser

442206.4k2](/packages/rodenastyle-stream-parser)[cybermonde/odtphp

ODT document generator

49123.4k1](/packages/cybermonde-odtphp)[akeneo-labs/excel-connector-bundle

Akeneo PIM Excel connector bundle

166.4k](/packages/akeneo-labs-excel-connector-bundle)[ambersive/documentviewer

Laravel package to create beautiful printable documents. We recommend the use with the ambersive/pdfprinter package to create documents.

142.6k](/packages/ambersive-documentviewer)

PHPackages © 2026

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