akira/laravel-pdf-invoices
A Laravel package for generating PDF invoices from Eloquent models, with customizable templates, line items, taxes, discounts, and multi-language support. Stream or download invoices directly from your app, or save them to storage. Designed to simplify billing and document workflows.
Consider it when:
Look elsewhere when:
LaravelDaily/laravel-invoices or a Spatie/Dompdf combination.For executives: This is an MIT-licensed, dependency-free way to produce our own invoice and receipt PDFs, avoiding per-invoice SaaS fees and vendor lock-in for a capability that supports the product rather than defines it. The code is modern and clean, which keeps long-term maintenance cost low. The caveat is maturity: adoption is minimal and it targets the newest PHP/Laravel versions, so I recommend a time-boxed pilot with a swappable internal wrapper — not a committed platform decision. Downside risk is contained: MIT licensing means we can fork, and the invoicing logic sits behind our own interface.
For engineering: Strictly typed PHP 8.4, Laravel 12, builder pattern with immutable data objects, SOLID structure — it should read as familiar, testable code and extend without forking. Two asks before we lean on it: (1) wrap it behind an internal InvoiceRenderer contract so we can swap to LaravelDaily/laravel-invoices, Spatie, or a fork without touching call sites; (2) pin the version and confirm the PHP 8.4 / Laravel 12 requirement against our hosting and CI. It handles document layout only — numbering persistence, tax rules, storage, delivery, and archival remain ours.
How can I help you explore Laravel packages today?