PHP Based PDF Modification Framework / Package


I'm looking around to see if there are any php packages that would be helpful for creating a solution that is similar to how handles their custom designs. Basically we are building a marketing portal where users can log in, select a PDF and then add custom text and graphics to it and then e-mail it out to a list of customers. Obviously we're going to need PHP, JQuery and some sort of image rendering library like IMAGEMAGIK, but just wondering if anyone had any further advice.

As always any help is greatly appreciated.




Have had some success with DOMPDF. Although thats from DOM to PDF, not existing PDF to PDF.




For the pdf modification part, I think you can use the fpdi library. I got to use it for some simple changes on a pdf (setting some fields for the user) and it worked pretty well.

The problem is you still have to display the pdf to your user and get what changes he wants. Maybe try to find some pdf to png tool.

But I don't think a php/html/javascript stack is a good solution for what you want to do. I'd check what Flash or Silverlight can offer if I was you.




wkhtmltopdf is a command-line tool that converts html pages into pdf documents using a built-in Webkit (Safari) rendering engine. That is, you create an ordinary html page in php and then simply convert in to pdf. Quite practical!

People are also looking for solutions to the problem: php - FLEX database will not refresh after updating database unless browser is restarted


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.