PHPackages                             nicolask/numerator - 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. nicolask/numerator

ActiveLibrary

nicolask/numerator
==================

A simple sqlite based tool to create consecutive numbers.

098PHPCI failing

Since Dec 29Pushed 6y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Number generator for simple cases
=================================

[](#number-generator-for-simple-cases)

This package provides a very simple number generator that relies on a local Sqlite database. This tool simplifies the tasks of creating consecutive numbers and saving the time when they got created.

It might be helpful when implementing a very simple order system with the need to create unique and traceable numbers to identify invoices or other order documents for later processing.

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

[](#installation)

```
composer require nicolask/numerator

```

Usage
-----

[](#usage)

```
$factory = new NumberFactory($pathToDb);
$nextNumber = $factory->getNextNumber();
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

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/e58ce930da083e18a97c650f8b41b79791955befbc738853c7ce5b57626d71aa?d=identicon)[nicolask](/maintainers/nicolask)

### Embed Badge

![Health badge](/badges/nicolask-numerator/health.svg)

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

PHPackages © 2026

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