The person behind getpdfcode

Abhay Kumar

Software engineerCreator of getpdfcode

Hi — I'm Abhay. I designed, built and maintain getpdfcode on my own, as a small contribution back to the PHP community I've learned so much from.

Like a lot of PHP developers, I kept needing to generate PDFs — invoices, reports, the occasional contract. Writing the code was never the hard part. The hard part was that the PHP PDF libraries — html2pdf, Dompdf and mPDF — don't render HTML and CSS the way a browser does.

A plain table wouldn't line up the way I expected. To get columns to behave, I'd end up nesting tables inside tables; percentage widths, alignment and margins would quietly break — each library in its own way. I lost more afternoons than I'd like to admit to trial-and-error renders for layouts that should have taken minutes.

So I built the tool I wished I'd had: a visual builder that quietly handles those quirks for you and exports clean, ready-to-run PHP that renders correctly — whichever library you use.

I made getpdfcode to help other developers skip the pain I went through. If it saves you one afternoon of fighting a rendering engine, it's done its job.

It's a one-person project — no team, no investors — so when you reach out, you're talking to the person who actually wrote the code. I use the same libraries you do and run into the same edge cases, and I keep improving it as I find them.

That's really all getpdfcode is: something I made to help fellow PHP developers ship a little faster. If it helps you, that's the whole point — and if you hit a quirk I haven't handled yet, I'd genuinely like to hear about it.

— Abhay Kumar
Software engineer · getpdfcode
Support the project

getpdfcode runs on servers I pay for myself, and rendering PDFs is the expensive part — a long document holds a fifth of a gigabyte for up to forty seconds. That bill is what keeps the free plan genuinely free rather than a trial. If this saved you time, helping cover a month of it makes a real difference at this scale.

See how to help →