add support for the dompdf library

Created on 4 April 2024, 3 months ago
Updated 10 May 2024, about 2 months ago

Problem/Motivation

Thanks for this module!

The wkhtmltopdf library is great and works well, with that said, it is not as easy to set up and use as dompdf.

For instance, I have a wodby local build and wodby is built on alpine. wkhtmltopdf is not supported on alpine and is not easy to complie for. Alternatively the dompdf is very easy to set up, only requires PHP and will work on alpine and other types of containers without having to go through major hoops to install.

Also, I noticed that the wkhtmltopdf project repository was set to archived mode, meaning it's development has been frozen and I don't yet see a fork.

It is possible that the developers of wkhtmltopdf themselves have switched to dompdf.

Should we be able to get dompdf in as an default library with wkhtmltopdf as optional it will lower the barriers of entry, get more people using the book_pdf module and bring in more groups and developers to improve it.

Prior to doing this work, I recommend to please merge the three other significant improvements we have been working on.

Steps to reproduce

There is another pdf library available called dompdf , the entity_print module offers this as an option , it's an easy setup.

Proposed resolution

TBD

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

Data model changes

N/A

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada joseph.olstad

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024