InvoiceForge - PHP Class For Beautiful PDF Invoices

Bluehost Shared Hosting

InvoiceForge creates beautifully designed PDF invoices, quotes, estimates, receipts, credit notes and purchase orders — in just a few lines of PHP, or with zero code using the included web Invoice Builder.

Designs are plain HTML/CSS templates: customising your invoice means editing familiar HTML, never fighting PDF coordinates. Brand it with your logo and theme color, add unlimited items with automatic paging, and deliver the PDF in the browser, as a download, saved on your server, or as raw bytes for e-mail attachments.

<!- IMAGE PLACEHOLDER: banner showing the 4 templates side by side ->

Two products in one

  • For developers: a clean, fluent, fully namespaced PHP 8 library that integrates with Laravel, WordPress, CodeIgniter or any custom project (guides included).
  • For everyone else: the no-database Invoice Builder — upload, open in a browser, fill a friendly form, download the PDF. Nothing is stored on the server.

Features

  • 10 professional designs: Modern, Classic, Minimal, Elegant, Corporate, Compact, Sidebar + 3 fully mirrored RTL designs — plus easy custom templates
  • True Arabic / Hebrew / Persian / Urdu support: built-in contextual letter shaping & bidi engine with a bundled open-licensed Arabic font — a rarity among PHP invoice scripts
  • 16 languages bundled (EN, NL, FR, DE, ES, IT, PT, TR, RU, PL, SV, ID, AR, HE, FA, UR) — add your own with one JSON file
  • Any currency, any format: symbol position, separators, decimals (incl. zero-decimal currencies)
  • Mixed tax rates grouped automatically; per-line and global discounts; shipping; partial payments with automatic Balance Due
  • Unlimited items with automatic page breaks and repeating table headers
  • Status badges (PAID / UNPAID / OVERDUE / custom), diagonal watermarks, QR payment block
  • Extra header meta rows (PO number, project …) and unlimited bottom sections (payment info, terms …)
  • Automatic page numbering and a per-page footer line
  • Output: browser preview, forced download, save to server, raw string for e-mail attachments
  • Document types: invoice, quote, estimate, receipt, credit note, purchase order — or any custom title

<!- IMAGE PLACEHOLDER: screenshot of the Invoice Builder web form ->

Secure by design

  • Every printed value is HTML-escaped — customer data can never inject markup into your PDFs
  • CSRF-protected builder with strict server-side validation and whitelisting
  • Logo uploads verified by real MIME content (not extension), 2 MB cap
  • PDF engine locked down: no remote fetching, no embedded PHP, images embedded as data URIs
  • No database, no eval(), strict types and strict comparisons throughout

Developer friendly

  • PHP 8.0 – 8.5, PSR-4 autoloading, Composer-ready (works without Composer too — vendor folder included)
  • Readable fluent API: Invoice::create()->number('INV-1')->add(new LineItem('Design', 1, 1500))->stream();
  • Single config file for your branding defaults — most invoices then need only items and parties
  • Every class and method fully documented; 5 runnable examples included
  • Step-by-step Laravel, WordPress (incl. WooCommerce mapping) and CodeIgniter 4 guides

What you get

  • Full, unencrypted source code
  • The Invoice Builder web app
  • Comprehensive HTML documentation (also available online)
  • 6 example scripts (incl. a complete Arabic RTL invoice) + 3 framework integration guides
  • Free updates and 6 months support

Requirements

  • PHP 8.0+ with mbstring, dom and gd (standard on shared hosting)
  • No database required

Changelog

 v1.0.0 — Initial release 

4.8 average based on 12 ratings.

farjadtahir

farjadtahir

Visit Author's Portfolio

View Portfolio
Last Update 2026-06-10
Created 2016-01-20
Sales 284
Discussion Comments
Compatible Browsers IE6 IE7 IE8 IE9 IE10 IE11 Firefox Safari Opera Chrome Edge
Software Version PHP 8.x
High Resolution
Software Framework
Files Included PHP
Video Preview Resolution