Stand With Ukraine. Stop Putin. Stop War.


Commerce is a powerful e-commerce solution for MODX, allowing you to sell online exactly the way you want. Install even more functionality with 35+ plug & play extensions, or build your own.

Version 1.2.9-pl

V2 & V3

MODX Compatibility Hover for details

Downloads 1420

Rating 4.5/5

Price € 299 per site

Developer modmore

mPDF Writer

The mPDF Writer allows Commerce to generate PDFs using the mPDF library (GPL 2.0). This runs on your own server (compared to the PDFCrowd Writer, which off-loads PDF generation to a paid service) and is free to use.

For Commerce PDF generation is particularly useful for generating PDF invoices.

Note: this module requires Commerce 1.0 or up.


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

Release History

mPDF Writer for Commerce 1.1.4-pl

Released on 2022-10-03

Released on 2022-10-04

Dependency updates:

  • psr/http-message installed in version 1.0.1
  • php-http/message-factory installed in version v1.0.2
  • myclabs/deep-copy updated from 1.10.2 to 1.11.0
  • mpdf/mpdf updated from v8.0.12 to v8.1.2

mPDF Writer for Commerce 1.1.3-pl

Released on 2021-07-26

Released on 2021-07-26

  • Update mpdf from v8.0.11 to v8.0.12:

mPDF Writer for Commerce 1.1.2-pl

Released on 2021-05-13

Released on 2021-05-13

  • Change gitignore strategy to allow vendor folder to be committed on installed sites
  • Updated dependencies:
  • mpdf/mpdf updated from v8.0.5 to v8.0.11
  • setasign/fpdi updated from v2.3.2 to v2.3.6
  • psr/log updated from 1.1.3 to 1.1.4
  • paragonie/random_compat updated from v9.99.99 to v9.99.100
  • myclabs/deep-copy updated from 1.9.5 to 1.10.2

mPDF Writer for Commerce 1.1.1-pl

Released on 2020-03-24

Released on 2020-03-24

  • Provide mPDF with a consistent base path (root of the MODX installation) to ensure relative image urls resolve consistently [S22301]
  • Relax minimum PHP version requirement to 7.1+


  • myclabs/deep-copy updated from 1.9.1 to 1.9.5
  • setasign/fpdi updated from v2.2.0 to v2.3.2
  • psr/log updated from 1.1.0 to 1.1.3
  • mpdf/mpdf updated from v8.0.2 to v8.0.5 [security fix]

mPDF Writer for Commerce 1.1.0-pl

Released on 2019-08-12

Released on 12 August, 2019

  • Remove unused mPDF fonts during package build to greatly reduce package size. To add new fonts, see:

mPDF Writer for Commerce 1.0.1-pl

Released on 2019-07-28

Released on 28 July, 2019

  • Fix module not being recognised after installation

mPDF Writer for Commerce 1.0.0-pl

Released on 2019-07-25

Released on 25 July, 2019

  • First release of the mPDF Writer for Commerce. Developed by Murray Wood for modmore.

Disclaimer: Viewing non-Euro pricing

You are currently viewing prices in a non-Euro currency. Please be advised that these prices are estimates, based on data by Open Exchange Rates.

While we offer this currency converter hoping our users find it convenient, all purchases are made in Euro, and the final amount charged can vary depending on payment provider, day, time of day and a number of other factors outside of modmore's control. There are no guarantees on accuracy and modmore nor Open Exchange Rates can not be held liable for errors.