PHPackages                             lutomski/invoices - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. lutomski/invoices

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

lutomski/invoices
=================

Generate PDF invoices for your customers in laravel

1.9(1y ago)012MITPHP

Since May 27Pushed 1y agoCompare

[ Source](https://github.com/lutomski/invoices)[ Packagist](https://packagist.org/packages/lutomski/invoices)[ RSS](/packages/lutomski-invoices/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

[![](https://camo.githubusercontent.com/8bf722f98b58c3621e37bc83e94ca67d37d8f4881e85b8e37e3d734e739fc3e1/687474703a2f2f692e696d6775722e636f6d2f7439473372464d2e706e67)](https://erik.cat/projects/invoices)

[![StyleCI Status](https://camo.githubusercontent.com/334673ac1cee27600d55cddbfcf24dc52ecb730f60e8a1d55e9cdbfcac4b004f/68747470733a2f2f7374796c6563692e696f2f7265706f732f39323836333432362f736869656c643f6272616e63683d6d6173746572267374796c653d666c6174)](https://styleci.io/repos/92863426)[![Build For Laravel](https://camo.githubusercontent.com/9d0e49e88cc565047271b33091f74c61bd665a5690747864fcff8e335eb285e9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4275696c745f666f722d4c61726176656c2d6f72616e67652e737667)](https://styleci.io/repos/92863426)[![Total Downloads](https://camo.githubusercontent.com/312fefd977b160d711ad940688c1e6925ffcfc2cd02cbc157e6424655a36634e/68747470733a2f2f706f7365722e707567782e6f72672f636f6e736f6c657476732f696e766f696365732f642f746f74616c2e737667)](https://packagist.org/packages/consoletvs/invoices)[![Latest Stable Version](https://camo.githubusercontent.com/ad7c10f697ad62fb59a3f9d2935f89569a281e1ad9c878d414b922438eacf52f/68747470733a2f2f706f7365722e707567782e6f72672f636f6e736f6c657476732f696e766f696365732f762f737461626c652e737667)](https://packagist.org/packages/consoletvs/invoices)[![License](https://camo.githubusercontent.com/1afe277ae606cdea68736b1514ea70534f1b9358fb37ce36380e89dc7d99fe50/68747470733a2f2f706f7365722e707567782e6f72672f636f6e736f6c657476732f696e766f696365732f6c6963656e73652e737667)](https://packagist.org/packages/consoletvs/invoices)

What is Invoices?
-----------------

[](#what-is-invoices)

Invoices is a Laravel library that generates a PDF invoice for your customers. The PDF can be either downloaded or streamed in the browser. It's highly customizable and you can modify the whole output view as well.

Sample Invoice
--------------

[](#sample-invoice)

This is a sample invoice generated using this library:

[![Sample Invoice](https://camo.githubusercontent.com/0ea40b9ac379c9c1a30f1137038e43c061964ee1ff4317c7a8eebc6a5e966718/68747470733a2f2f692e6779617a6f2e636f6d2f37363866356235393739313136326534333266396364666131356630313762632e706e67)](https://camo.githubusercontent.com/0ea40b9ac379c9c1a30f1137038e43c061964ee1ff4317c7a8eebc6a5e966718/68747470733a2f2f692e6779617a6f2e636f6d2f37363866356235393739313136326534333266396364666131356630313762632e706e67)

```
$invoice = \ConsoleTVs\Invoices\Classes\Invoice::make()
                ->addItem('Test Item', 10.25, 2, 1412)
                ->addItem('Test Item 2', 5, 2, 923)
                ->addItem('Test Item 3', 15.55, 5, 42)
                ->addItem('Test Item 4', 1.25, 1, 923)
                ->addItem('Test Item 5', 3.12, 1, 3142)
                ->addItem('Test Item 6', 6.41, 3, 452)
                ->addItem('Test Item 7', 2.86, 1, 1526)
                ->addItem('Test Item 8', 5, 2, 923, 'https://dummyimage.com/64x64/000/fff')
                ->number(4021)
                ->with_pagination(true)
                ->duplicate_header(true)
                ->due_date(Carbon::now()->addMonths(1))
                ->notes('Lrem ipsum dolor sit amet, consectetur adipiscing elit.')
                ->customer([
                    'name'      => 'Èrik Campobadal Forés',
                    'id'        => '12345678A',
                    'phone'     => '+34 123 456 789',
                    'location'  => 'C / Unknown Street 1st',
                    'zip'       => '08241',
                    'city'      => 'Manresa',
                    'country'   => 'Spain',
                ])
                ->download('demo')
                //or save it somewhere
                ->save('public/myinvoicename.pdf');
```

Documentation
-------------

[](#documentation)

[![](https://camo.githubusercontent.com/903353ec8cab9bd6672ccec71218f3bd8ce73a0a4bb3891e161abbdd965285eb/687474703a2f2f692e696d6775722e636f6d2f3437576e4144642e706e67)](https://erik.cat/projects/invoices)

License
-------

[](#license)

```
MIT License

Copyright (c) 2017 Erik Campobadal

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

```

Special thanks
--------------

[](#special-thanks)

- [Codevio](https://github.com/codevio);

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance46

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 59.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

404d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15073985?v=4)[Damiano](/maintainers/lutomski)[@lutomski](https://github.com/lutomski)

---

Top Contributors

[![ConsoleTVs](https://avatars.githubusercontent.com/u/6124435?v=4)](https://github.com/ConsoleTVs "ConsoleTVs (48 commits)")[![codevio](https://avatars.githubusercontent.com/u/58127917?v=4)](https://github.com/codevio "codevio (19 commits)")[![jkudish](https://avatars.githubusercontent.com/u/260253?v=4)](https://github.com/jkudish "jkudish (4 commits)")[![halabe15](https://avatars.githubusercontent.com/u/15017125?v=4)](https://github.com/halabe15 "halabe15 (3 commits)")[![georgetassiano](https://avatars.githubusercontent.com/u/8898824?v=4)](https://github.com/georgetassiano "georgetassiano (2 commits)")[![lutomski](https://avatars.githubusercontent.com/u/15073985?v=4)](https://github.com/lutomski "lutomski (1 commits)")[![BnitoBzh](https://avatars.githubusercontent.com/u/2962152?v=4)](https://github.com/BnitoBzh "BnitoBzh (1 commits)")[![danielfaulknor](https://avatars.githubusercontent.com/u/334835?v=4)](https://github.com/danielfaulknor "danielfaulknor (1 commits)")[![fridzema](https://avatars.githubusercontent.com/u/8180660?v=4)](https://github.com/fridzema "fridzema (1 commits)")[![aurawindsurfing](https://avatars.githubusercontent.com/u/14302496?v=4)](https://github.com/aurawindsurfing "aurawindsurfing (1 commits)")

---

Tags

laravelpdfinvoicesgeneratecreateopen-sourcecustomersErik Campobadal

### Embed Badge

![Health badge](/badges/lutomski-invoices/health.svg)

```
[![Health](https://phpackages.com/badges/lutomski-invoices/health.svg)](https://phpackages.com/packages/lutomski-invoices)
```

###  Alternatives

[consoletvs/invoices

Generate PDF invoices for your customers in laravel

458279.9k](/packages/consoletvs-invoices)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.6k30.0M148](/packages/laravel-cashier)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M132](/packages/laravel-pulse)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M307](/packages/laravel-horizon)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
