PHPackages                             skycoder/invoice-number-generator - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. skycoder/invoice-number-generator

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

skycoder/invoice-number-generator
=================================

More flexible and unique invoice number generator

34701PHP

Since Dec 16Pushed 4y ago1 watchersCompare

[ Source](https://github.com/skycoder026/invoice-number-generator)[ Packagist](https://packagist.org/packages/skycoder/invoice-number-generator)[ RSS](/packages/skycoder-invoice-number-generator/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Description [![Build Status](https://camo.githubusercontent.com/5f66dc4e3068851ea61784fac29acabd8f0ccb0273892cca5626b35870622f4d/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6a6572657369672f6a71756572792e686f746b6579732e706e67)](http://travis-ci.org/jeresig/jquery.hotkeys)
==============================================================================================================================================================================================================================================================================================

[](#description-)

**Invoice Number Generator** is a more flexible package, that can help you to generate unique invoice number with custom prefix depends on year.

This package is easy to use and will help you to simplify your code.

Installation Process
--------------------

[](#installation-process)

```
composer require skycoder/invoice-number-generator

```

When successfully install your package. you just run `php artisan migrate` command

Uses
----

[](#uses)

Just use this line of code into your method which store data

```
$service = new InvoiceNumberGeneratorService();
$invoice_number = $service->currentYear()->prefix('sale-inv')->setCompanyId(1)->startAt(500000)->getInvoiceNumber('Sale');

 // your code here

$service->setNextInvoiceNo();
```

and use this namespace top of the class

`use Skycoder\InvoiceNumberGenerator\InvoiceNumberGeneratorService;`

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity28

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://www.gravatar.com/avatar/c6e271f2abaa23761d1c32502de935a92b288438e7f76e45a1bc240ebef34660?d=identicon)[skycoder026](/maintainers/skycoder026)

---

Top Contributors

[![skycoder026](https://avatars.githubusercontent.com/u/57054683?v=4)](https://github.com/skycoder026 "skycoder026 (9 commits)")

### Embed Badge

![Health badge](/badges/skycoder-invoice-number-generator/health.svg)

```
[![Health](https://phpackages.com/badges/skycoder-invoice-number-generator/health.svg)](https://phpackages.com/packages/skycoder-invoice-number-generator)
```

PHPackages © 2026

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