finds.dev← search

// the find

LaravelDaily/laravel-invoices

★ 1,552 · PHP · GPL-3.0 · updated Mar 2026

Laravel package to generate PDF invoices from various customizable parameters

A Laravel package for generating PDF invoices via a fluent builder API. Wraps dompdf/snappy under the hood and handles the tedious parts: serial number formatting, per-item or per-invoice taxes/discounts, currency formatting, and multi-locale support. Aimed at Laravel developers who need invoices in a SaaS or e-commerce app without building the PDF layer themselves.

The fluent builder API is well-designed — chaining buyer, items, taxes, discounts, and output format reads naturally and covers 90% of real invoice structures without touching config. Per-item and per-invoice discounts/taxes coexist without fighting each other, which is the part most home-rolled solutions get wrong. Translation coverage is solid for a niche package: Arabic, Bulgarian, Czech, German, Spanish, French, Italian, Dutch, Polish, Romanian out of the box. The Blade template system is genuinely extensible — publish the views, copy the default template, and you have full control over layout without forking the package.

GPL-3.0-only is a real problem for commercial SaaS — you either have to open-source your entire application or get a separate license, and the README doesn't acknowledge this at all. There's no concept of invoice line items with tax categories or multi-tax-rate support per item, which is required for EU VAT compliance in many countries (reduced rate on food vs. standard rate on services). The PDF rendering is entirely dependent on the Blade template and dompdf, so anything beyond basic table layout — custom fonts, complex column structures, pixel-perfect branding — becomes a fight with CSS-to-PDF rendering quirks. Sequence management is stateless; the package doesn't track or auto-increment invoice numbers in a database, so concurrent requests in a busy app will generate duplicate serial numbers unless you implement your own locking.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →