PHPackages                             thomzee/numbros - 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. thomzee/numbros

ActiveLibrary

thomzee/numbros
===============

Generate invoice number, order code, or receipt number easily with dynamic format and pattern for PHP Laravel framework.

v1.0.0(4y ago)171[2 issues](https://github.com/thomzee/numbros/issues)MITPHP

Since Oct 4Pushed 4y ago1 watchersCompare

[ Source](https://github.com/thomzee/numbros)[ Packagist](https://packagist.org/packages/thomzee/numbros)[ RSS](/packages/thomzee-numbros/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Description
-----------

[](#description)

This package allows you to generate invoice number dynamically with designated pattern. Current available pattern is:

- Roman Pattern (INV/20211004/MMXXI/X/IV/12345)
- Number Pattern (INV2021100412345)

Other patterns is under development ...

Installation
------------

[](#installation)

1. Install via composer by running this code on command line inside Laravel project ```
    composer require thomzee/numbros
    ```
2. Add this line to your `app.php` file ```
    'providers' => [
        . . .
       Thomzee\Numbros\NumbrosServiceProvider::class,
    ]
    ```
3. Add the facade as well in the same file ```
    'aliases' => [
        . . .
        'Laramap' => Thomzee\Numbros\Facades\Numbros::class,
    ]
    ```

Usage
-----

[](#usage)

#### Roman Pattern

[](#roman-pattern)

```
$numbros = new Numbros();
$numbros->generate('roman', 'inv', '12345');
```

#### Number Pattern

[](#number-pattern)

```
$numbros = new Numbros();
$numbros->generate('number', 'inv', '12345', '');
```

#### generate()

[](#generate)

This function contains 5 parameters

1. Type, should contain pattern type available above
2. Prefix, e.g.: INV, DSB, ORD, etc
3. Unique, must be a unique
4. Separator, can be '/', '-', '', etc to separate sections
5. Uppercase, determine end result characters case

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

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

1684d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/92025e5db63780633ccc78d34c9489b9f8ac113acbcfd8403e5d917ca149b15f?d=identicon)[thomzee](/maintainers/thomzee)

---

Top Contributors

[![thomzee](https://avatars.githubusercontent.com/u/7501454?v=4)](https://github.com/thomzee "thomzee (17 commits)")[![yogarevy](https://avatars.githubusercontent.com/u/35121372?v=4)](https://github.com/yogarevy "yogarevy (2 commits)")[![chikaldirick](https://avatars.githubusercontent.com/u/7340630?v=4)](https://github.com/chikaldirick "chikaldirick (1 commits)")

---

Tags

hacktober-festhacktoberfesthacktoberfest2021

### Embed Badge

![Health badge](/badges/thomzee-numbros/health.svg)

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

PHPackages © 2026

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