PHP wrapper that is API-compatible with PDFlib?

Up vote 4 down vote favorite share g+ share fb share tw.

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. Php api pdflib link|improve this question edited Mar 25 '10 at 21:38 asked Mar 25 '10 at 21:29David Alan Hjelle736.

So I started work on my own, using the TCPDF (tcpdf.org) library. Since we use little of the total functionality of PDFlib, I was able to complete about 60% of a wrapper in 4 hours or so. Good enough that we probably won't be upgrading PDFlib after all.

Still be interested if anyone has a fully-featured wrapper, though. – David Alan Hjelle Mar 27 '10 at 13:44 Any intention to open source the wrapper you wrote? – Sherri Mar 30 '10 at 19:54.

Thanks, but, from what I've read, TCPDF has superceded that. Thanks! – David Alan Hjelle Mar 28 '10 at 22:56.

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

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.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions