David Alan Hjelle
David Alan Hjelle

Reputation: 952

PHP wrapper that is API-compatible with PDFlib

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.

Upvotes: 5

Views: 884

Answers (3)

David Alan Hjelle
David Alan Hjelle

Reputation: 952

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.

Upvotes: 0

Geek Num 88
Geek Num 88

Reputation: 5312

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

Also free

Upvotes: 0

Shuriken
Shuriken

Reputation: 701

Maybe this PHP Class can help you out

Upvotes: 1

Related Questions