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

Abandoned → [pressbooks/pressbooks](/?search=pressbooks%2Fpressbooks)ArchivedWordpress-plugin[PDF &amp; Document Generation](/categories/documents)

pressbooks/pressbooks-docraptor
===============================

Docraptor exporter for Pressbooks.

2.2.1(8y ago)134GPL-3.0-or-laterPHPPHP &gt;=7.0

Since Mar 3Pushed 8y ago6 watchersCompare

[ Source](https://github.com/pressbooks/pressbooks-docraptor)[ Packagist](https://packagist.org/packages/pressbooks/pressbooks-docraptor)[ Docs](https://github.com/pressbooks/pressbooks-docraptor)[ RSS](/packages/pressbooks-pressbooks-docraptor/feed)WikiDiscussions dev Synced 2w ago

READMEChangelog (10)Dependencies (5)Versions (14)Used By (0)

DocRaptor for Pressbooks
========================

[](#docraptor-for-pressbooks)

**Version:** 2.2.1
**Stable tag:** 2.2.1
**Tags:** ebooks, publishing
**Requires PHP:** 7.0
**Requires at least:** 4.9.4
**Tested up to:** 4.9.4
**Pressbooks tested up to:** 5.0.2
**License:** GPLv2
**License URI:**

This plugin implements a DocRaptor export module for Pressbooks.

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

[](#description)

[![Packagist](https://camo.githubusercontent.com/cc699ff1fee8a3c73d5f67b0a7294dab5d91c248cdebf7ee6c3f1d905b6100a1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7072657373626f6f6b732f7072657373626f6f6b732d646f63726170746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pressbooks/pressbooks-docraptor) [![GitHub release](https://camo.githubusercontent.com/b127e531687fa8007659e896762b6ae353f7696d82a100f6f2aea568bf87b481/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7072657373626f6f6b732f7072657373626f6f6b732d646f63726170746f722e7376673f7374796c653d666c61742d737175617265)](https://github.com/pressbooks/pressbooks-docraptor/releases) [![Travis](https://camo.githubusercontent.com/13255d16b7a3d9bf99c2a9c822ebf0a4a3a573f06db41ec9d973780b6b54a02d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7072657373626f6f6b732f7072657373626f6f6b732d646f63726170746f722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/pressbooks/pressbooks-docraptor/) [![Codecov](https://camo.githubusercontent.com/aad37fbfa4fbc2b291c646b7a6b077bda1b1c837db2f4e55a88af6e44af4bb01/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f7072657373626f6f6b732f7072657373626f6f6b732d646f63726170746f722e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/gh/pressbooks/pressbooks-docraptor)

This plugin implements a [DocRaptor](https://docraptor.com/) export module for [Pressbooks](https://pressbooks.org), acting as a drop-in replacement for Pressbooks' [Prince](https://princexml.com) exporter.

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

[](#installation)

### Requirements

[](#requirements)

- PHP &gt;= 7.0
- Pressbooks &gt;= 5.0.0
- WordPress &gt;= 4.9.1

### Installing

[](#installing)

To install via [Composer](https://getcomposer.org) (recommended):

`composer require pressbooks/pressbooks-docraptor`

Or [manually install](https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation) the [latest release](http://github.com/pressbooks/pressbooks-docraptor/releases/latest).

Then, set the constant `DOCRAPTOR_API_KEY` to your [API key](https://docraptor.com/documentation/api#api_authentication) for authenticated usage:

`define(\'DOCRAPTOR_API_KEY\', \'YOUR_API_KEY\');`

Set the constant `WP_ENV` to `staging` or `production` to disable [test mode](https://docraptor.com/documentation/api#api_test_docs):

`define(\'WP_ENV\', \'production\');`

Upgrade Notice
--------------

[](#upgrade-notice)

2.2.1
-----

[](#221)

DocRaptor for Pressbooks 2.2.1 requires Pressbooks 5.0 and PHP &gt;= 7.0.

Changelog
---------

[](#changelog)

### 2.2.1###

[](#221-1)

**Patches**

- Update license: [b15c31c](https://github.com/pressbooks/pressbooks-docraptor/commit/b15c31c)
- Update Pressbooks tested up to version: [bc113bb](https://github.com/pressbooks/pressbooks-docraptor/commit/bc113bb)

### 2.2

[](#22)

**NOTICE:** Version 2.2 requires Pressbooks 5.0 and PHP &gt;= 7.0.

- **\[CORE ENHANCEMENT\]** Updated several dependencies to their latest versions.

### 2.1

[](#21)

- **\[CORE ENHANCEMENT\]** The DocRaptor for Pressbooks plugin is now self-updating — GitHub Updater is no longer required (see #19, #20, and #21).

### 2.0.1

[](#201)

- Only fetch DocRaptor log when required (#14).

### 2.0.0

[](#200)

- Human Made Coding standards, other improvements.

### 1.2.0

[](#120)

- Changed to network-only plugin.
- Added local development mode.
- Improved the retrieval of PDFs.
- Prepared for localization.

### 1.1.0

[](#110)

- Test mode is now used within development environments only.

### 1.0.0

[](#100)

- 🚀 INITIAL RELEASE! 🚀

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

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

Every ~33 days

Recently: every ~59 days

Total

12

Last Release

3081d ago

Major Versions

1.2.0 → 2.0.02017-07-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/5617ca8d230381ad60c37324c68fff5d0b1866a51f47b97e707a84afd0f80ce5?d=identicon)[pressbooks-ops](/maintainers/pressbooks-ops)

---

Top Contributors

[![dac514](https://avatars.githubusercontent.com/u/812192?v=4)](https://github.com/dac514 "dac514 (9 commits)")

---

Tags

ebookspdfpublishingpublishingebookswebbooks

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45844.8k1](/packages/pressbooks-pressbooks)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.6k10](/packages/helsingborg-stad-municipio)[october/rain

October Rain Library

1601.7M103](/packages/october-rain)[mediawiki/maps

Adds various mapping features to MediaWiki

85155.1k3](/packages/mediawiki-maps)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

19256.6k4](/packages/civicrm-civicrm-drupal-8)[altis/core

Core module for Altis

19233.0k4](/packages/altis-core)

PHPackages © 2026

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