mPDF Writer for Commerce

commerce_mpdfwriter

  • By modmore
  • Latest release October 6, 2026 (28 days ago)

About

v1.1.5 — Generates PDFs in Commerce (such as invoices) using the mPDF library.

Free extra

mPDF Writer for Commerce is free to use.

Installation & usage

1. Download and install the package from our package provider. 2. In the Commerce Dashboard, navigate to Configuration > Modules. Find the Commerce_mPDFWriter module, and enable it. 3. Once enabled, Commerce will automatically use mPDF Writer to generate invoices.

At a glance

MODX 3 compatible.

  • Developer modmore
  • Latest release October 6, 2026 (28 days ago)
  • First seen in SiteDash July 24, 2019 (7 years ago)
  • License GPL 2.0
  • MODX support 260 – 300
  • Databases MySQL

Releases 9 indexed releases

Changelog
modmore

1.2.0-pl

October 6, 2026

28 days ago

Released on 2026-10-06

- Bump minimum PHP to 7.4

Dependencies:
- php-http/message-factory removed
- psr/http-message removed (provided by guzzle7 package or modx3 core already)
- setasign/fpdi updated from v2.3.6 to v2.6.8
- myclabs/deep-copy updated from 1.11.0 to 1.13.4
- mpdf/psr-log-aware-trait installed in version v2.0.0
- mpdf/psr-http-message-shim installed in version v2.0.1
- mpdf/mpdf updated from v8.1.2 to v8.3.1
modmore

1.1.5-pl

July 28, 2026

3 months ago

Released on 2026-07-28

- Create a fresh mPDF instance for every render() call. Reusing a single Mpdf
object across invoices in the same request could write the previous document's
content under a new filename (notably during subscription renewals / bulk PDFs).
- Close the output handle on failure and delete truncated target files so a failed
render cannot leave a sticky/incomplete PDF behind.
modmore

1.1.4-pl

October 3, 2022

4 years ago

—
modmore

1.1.3-pl

July 26, 2021

5 years ago

—
modmore

1.1.2-pl

May 13, 2021

5 years ago

—
modmore

1.1.1-pl

March 24, 2020

6 years ago

—
modmore

1.1.0-pl

August 12, 2019

7 years ago

—
modmore

1.0.1-pl

July 28, 2019

7 years ago

—
modmore

1.0.0-pl

July 25, 2019

7 years ago

—

We've also seen 3 unverified versions of mPDF Writer for Commerce in use, but don't list those as we've been unable of confirming they are official releases from an official source.