PHPackages                             bccampus/pressbooks-mpdf - 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. bccampus/pressbooks-mpdf

AbandonedArchivedWordpress-plugin

bccampus/pressbooks-mpdf
========================

Open source PDF generation for Pressbooks via the mPDF library.

3.3.1(7y ago)6105[19 issues](https://github.com/BCcampus/pressbooks-mpdf/issues)GPL-2.0+PHPPHP &gt;=7.1

Since Feb 8Pushed 7y ago2 watchersCompare

[ Source](https://github.com/BCcampus/pressbooks-mpdf)[ Packagist](https://packagist.org/packages/bccampus/pressbooks-mpdf)[ Docs](https://github.com/bccampus/pressbooks-mpdf)[ RSS](/packages/bccampus-pressbooks-mpdf/feed)WikiDiscussions dev Synced today

READMEChangelog (10)Dependencies (3)Versions (24)Used By (0)

This project has reached the end of its development. Feel free to browse the code, but please use other alternatives.

mPDF for Pressbooks
===================

[](#mpdf-for-pressbooks)

[![Build Status](https://camo.githubusercontent.com/eb6e0c06aa0ba12e172a3edc07e7f44dd9b8cfc62a788161fe9ff3a0dd953532/68747470733a2f2f7472617669732d63692e636f6d2f424363616d7075732f7072657373626f6f6b732d6d7064662e7376673f6272616e63683d646576)](https://travis-ci.com/BCcampus/pressbooks-mpdf)

Open source PDF generation for [Pressbooks](https://github.com/pressbooks/pressbooks) via the [mPDF](https://github.com/mpdf/mpdf) library.

Description
-----------

[](#description)

[mPDF](https://github.com/mpdf/mpdf) is an open source PHP class that generates PDF files from HTML.

This plugin is an open source alternative for PDF generation if the license fee for [PrinceXML](http://www.princexml.com/) is a barrier for users of Pressbooks.

[Pressbooks](https://wordpress.org/plugins/pressbooks/) is a requirement in order for this plugin to do anything useful.

Installation
------------

[](#installation)

IMPORTANT!

You must first install [Pressbooks](https://github.com/pressbooks/pressbooks). This plugin won't work without it. The Pressbooks github repository is updated frequently. [Stay up to date](https://github.com/pressbooks/pressbooks/tree/master).

### What is mPDF?

[](#what-is-mpdf)

[mPDF](https://mpdf.github.io/): A PHP library to generate PDF files from HTML with Unicode/UTF-8 and CJK support

It is based on FPDF and HTML2FPDF with a number of enhancements.

### Using Git

[](#using-git)

1. cd /wp-content/plugins
2. `git clone https://github.com/BCcampus/pressbooks-mpdf.git`
3. Activate the plugin at the network level, through the 'Plugins' menu in WordPress

### OR, go to the WordPress Dashboard

[](#or-go-to-the-wordpress-dashboard)

1. Navigate to the Network Admin -&gt; Plugins
2. Search for 'mPDF for Pressbooks'
3. Click 'Network Activate'

### OR, upload manually

[](#or-upload-manually)

1. Upload `pressbooks-mpdf` to the `/wp-content/plugins/` directory
2. Activate the plugin at the network level, through the 'Plugins' menu in WordPress

Changelog
---------

[](#changelog)

See:  for more detail

How to contribute code
----------------------

[](#how-to-contribute-code)

Pull requests are enthusiastically received **and** scrutinized for quality.

- The best way is to initiate a pull request on [GitHub](https://github.com/BCcampus/pressbooks-mpdf).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 88.5% 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 ~39 days

Total

21

Last Release

2586d ago

Major Versions

1.7.0 → 2.0.02017-07-10

2.0.0 → 3.0.02017-12-15

PHP version history (2 changes)3.1.3PHP &gt;=7.0

3.2.1PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/4a84a23d7dafb5879eee484ef44025287c3f73512d59634dc5fa65e650226eba?d=identicon)[bdolor](/maintainers/bdolor)

---

Top Contributors

[![bdolor](https://avatars.githubusercontent.com/u/2048170?v=4)](https://github.com/bdolor "bdolor (23 commits)")[![alex-418](https://avatars.githubusercontent.com/u/17072191?v=4)](https://github.com/alex-418 "alex-418 (2 commits)")[![marclaporte](https://avatars.githubusercontent.com/u/1004261?v=4)](https://github.com/marclaporte "marclaporte (1 commits)")

---

Tags

mpdfpdf-generationpressbooks

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bccampus-pressbooks-mpdf/health.svg)

```
[![Health](https://phpackages.com/badges/bccampus-pressbooks-mpdf/health.svg)](https://phpackages.com/packages/bccampus-pressbooks-mpdf)
```

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[krayin/laravel-crm

Krayin CRM

22.0k32.8k1](/packages/krayin-laravel-crm)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[carlos-meneses/laravel-mpdf

Laravel Mpdf: Using Mpdf in Laravel to generate Pdfs.

4403.1M7](/packages/carlos-meneses-laravel-mpdf)[kartik-v/yii2-mpdf

A Yii2 wrapper component for the mPDF library which generates PDF files from UTF-8 encoded HTML.

1605.5M84](/packages/kartik-v-yii2-mpdf)[contributte/pdf

Pdf response extension for Nette Framework

43967.8k2](/packages/contributte-pdf)

PHPackages © 2026

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