PHPackages                             gally90/laravel-invoice - 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. gally90/laravel-invoice

AbandonedArchivedLibrary

gally90/laravel-invoice
=======================

A simple invoice generator for Laravel

011Blade

Since Apr 8Pushed 5y ago1 watchersCompare

[ Source](https://github.com/gally90/laravel-invoice)[ Packagist](https://packagist.org/packages/gally90/laravel-invoice)[ RSS](/packages/gally90-laravel-invoice/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Invoice package for Laravel
---------------------------

[](#invoice-package-for-laravel)

[![Example Invoice](preview.png)](preview.png)

To get started simply use composer to require the package

```
composer require gally90/laravel-invoice

```

Configuration
-------------

[](#configuration)

To publish this packages assets use the following command

```
php artisan vendor:publish --provider="Gally90\Invoice\InvoiceServiceProvider"

```

You can now set up your business information in the invoice.php configuration file.

Usage
-----

[](#usage)

```
use Gally90\Invoice\Invoice;

$i = new Invoice($order->id); //You do not have to provide an invoice number on creation - it will default to 1
$i->to('Test Business');
$i->address('Test Line 1', 'Test City', 'AB1 2CD');
$i->addItem(1, 'Random Item', 39.99);
$i->addItem(5, 'Random Item 2', 10.00);
$i->message('Thank you for your purchase!');
//return $i->download('My Awesome Invoice!.pdf');
return $i->stream('Invoice.pdf');

```

Extra Features
--------------

[](#extra-features)

Sometime you may want to use a different tax rate than the one set in your invoice.php configuration file. To do this simply use the following method

```
$i->setTaxRate(5);

```

You can access all of the invoice totals using the following methods

```
$i->getNetTotal();
$i->getTaxTotal();
$i->getGrossTotal();

```

You can also change the invoice number from the default '1' or from the number you provided on creation of the invoice using the following method

```
$i->setInvoiceNumber(123456);

```

The default 'status' of the invoice is 'Paid'. You can change this using the following method

```
$i->setStatus('Not Paid');
$i->setStatus('Pro Forma');

```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/45067300?v=4)[Liam G](/maintainers/gally90)[@gally90](https://github.com/gally90)

---

Top Contributors

[![gally90](https://avatars.githubusercontent.com/u/45067300?v=4)](https://github.com/gally90 "gally90 (6 commits)")

### Embed Badge

![Health badge](/badges/gally90-laravel-invoice/health.svg)

```
[![Health](https://phpackages.com/badges/gally90-laravel-invoice/health.svg)](https://phpackages.com/packages/gally90-laravel-invoice)
```

PHPackages © 2026

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