PHP Invoice Numbering Composer Package — Gap-Free Document Numbers (24 Profiles, No Dependencies)

What you get: This page is the working piece.

Full version · $6 →

How it works
  1. Read below what the file contains.
  2. Pay once and download the file right away.
  3. Open it and fill in your own details.

What you get: This page is the working piece.

Full version →

Gap-free, concurrency-safe invoice and document numbering for PHP 8.1+ — 24 profiles, 6 document types, 4 reset regimes, zero dependencies.

Install

composer require docnum/invoice-numbering

Files

Get the complete version $60

This page is the working piece. The full pack has everything below.

24 numbering profiles across 6 document types and 4 reset regimes — the number is handed out once, even when two requests land in the same second.

Replacement cost is not the code, it is the concurrency proof: the race between two POST requests, the 1 January rollover, the {SEQ:5} width overflow at 100000, and adopting a legacy series without renumbering it — each one only s

Buy the full version — $6

Need more than this one? ReadyStack Pass opens all 679 files and 561 full versions — $29/month or $199/year. See the Pass →

ENDEJAESPT

Find a tool

Email me this result
A copy of what you see above, in your inbox — the tool stays free, nothing here is locked.

Questions and answers

What does this page do?

What you get: This page is the working piece.

Is it free?

The preview on this page is free. The full version ($6) adds: This page is the working piece.

How do I use it?

1. Read below what the file contains. 2. Pay once and download the file right away. 3. Open it and fill in your own details.

Ask about this tool

One question, answered by the person who built it. Your email only if you want the answer sent.

Privacy: your e-mail is used only to send you the answer. A question appears on this page only after it is answered, without your e-mail.

For a team or company: for an invoice with your company details, a quote or several licences, write to support@getreadystack.com.

Who is behind this page

ReadyStack is a small team. We build each tool for one job people keep asking about, from the rules and sources named on the page, and we run it on the worked example you see here before it goes live.

How we check our pages: each rule names its source and the day we read it.

Something looks wrong, or you are stuck? Write to support@getreadystack.com or use the contact form. It goes to our own inbox, not to a bot.

About ReadyStack

Next step: Q4 estimated tax, 1099-NEC and minimum wage 2027 — everything for US freelancers and small business on one page