Invoice Number Sequence — PHP Composer Package (gap-free, year reset, PDO store, audit report)

Gap-free document numbering for PHP 8.1+: invoice, credit-note and order numbers with year/quarter/month/day reset, atomic counter stores (in-memory, JSON file, PDO with…

How it works
  1. Read below what is included.
  2. Open the parts you need directly on this page.
  3. A question? Use the question box at the bottom of the page.

Gap-free document numbering for PHP 8.1+: invoice, credit-note and order numbers with year/quarter/month/day reset, atomic counter stores (in-memory, JSON file, PDO with row locking), takeover of an existing number range, and a gap-and-duplicate audit report. No runtime dependencies.

Install

composer require numberkit/document-sequence-pro

Files

Get the complete version $60

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

Send it to me

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

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

Find a tool

Questions and answers

What does this page do?

Gap-free document numbering for PHP 8.1+: invoice, credit-note and order numbers with year/quarter/month/day reset, atomic counter stores (in-memory, JSON file, PDO with row locking), takeover of an existing number range, and a gap-and-duplicate audit report.

Is it free?

The preview on this page is free.

How do I use it?

1. Read below what is included. 2. Open the parts you need directly on this page. 3. A question? Use the question box at the bottom of the page.

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 [email protected].

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 [email protected] 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