HTML to PDF Action - NodeJS & PHP [Open Source]

Yo,

Presenting HTML to PDF custom module. This extension adds to the already great set of components Wappler provided by default. Its available for both PHP and NodeJS server models.

Add HTML to PDF step in server connect from File Management category, specify an output folder path & name along with your custom HTML and the module will create a PDF from that HTML and save it.
You can then use that PDF to send as attachment via email or just store the path in DB.

Almost all options are explained using help texts. Please make sure to read them.
Here is the full source and documentation:
NodeJS: https://gitlab.com/wappler-extensions/html-to-pdf-nodejs
PHP: https://gitlab.com/wappler-extensions/html-to-pdf-php

For NodeJS, you will have to install 1 package - Puppeteer.
This package has its own set of dependencies and might not work on a shared hosting server.

For PHP, you will have to install 1 package - mPDF using Composer.
This package is not as powerful as NodeJS’s puppeteer, ref here.

For details on how to integrate custom modules in your Wappler project, please refer the help doc here.


Feel free to reports bugs or improvements or feature requests. If you have any critical feedback we’d be happy to hear.

Thanks,
Team /#

Community Page
Last updated: