Question

Are there any wrappers to any of the other PDF generating packages for PHP that provide API compatibility with PDFlib?

Our company has been generating PDFs from PHP using PDFlib for many years, but have not upgraded since version 5. Now that we are upgrading some servers, we need either upgrade or find a replacement. I'd like to replace PDFlib with an open-source product that allows commercial use. However, we (foolishly, perhaps) didn't write our own wrapper around PDFlib the first time around, and have many, many lines of code that would need to be changed and tested.

I realize I could write my own wrapper, but I find it surprising that my searching thus far has yielded no-one else who has done the same.

Was it helpful?

Solution 3

If any one is interested, I did open-source the wrapper I wrote. It's very minimal—just enough for our needs—but it works. See its Github page for more info.

OTHER TIPS

Maybe this PHP Class can help you out

I personally use fpdf - very powerful and has lots of user generated scripts to do anything you can think of.

Also free

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top