WebFaction
Community site: login faq

I want to know what good open-source methods are available to convert HTML (with CSS) to PDF using PHP ?

Thanks

asked 12 Apr, 16:09

anjanesh's gravatar image

anjanesh
62618
accept rate: 25%

edited 12 Apr, 16:12

Please see this post. Or try something like this.

(12 Apr, 22:08) NickR ♦♦ NickR's gravatar image

I think mpdf (https://github.com/mpdf/mpdf) is far better and is newer. It references PHP 7.2 too.

(13 Apr, 16:06) anjanesh anjanesh's gravatar image
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×259
×9

question asked: 12 Apr, 16:09

question was seen: 119 times

last updated: 13 Apr, 16:12

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2016 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM