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(11mo ago)18182.8k↑61.6%6MITPHPPHP &gt;=5.3.0

Since Oct 26Pushed 10mo 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 1mo 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 93% of packages

Maintenance52

Moderate activity, may be stable

Popularity44

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

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

[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M102](/packages/spatie-browsershot)[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.2k57.6M131](/packages/openspout-openspout)[keboola/csv

Keboola CSV reader and writer

1451.8M21](/packages/keboola-csv)[setasign/tfpdf

This class is a modified version of FPDF that adds UTF-8 support. The latest version is based on FPDF 1.85.

426.1M30](/packages/setasign-tfpdf)[aspera/xlsx-reader

Spreadsheet reader library for XLSX files

52742.2k5](/packages/aspera-xlsx-reader)

PHPackages © 2026

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