fooman / sameorderinvoicenumber-implementation-m2

fooman/sameorderinvoicenumber-implementation-m2

Use the Magento order number as the related invoice, shipment and credit memo number.

magento2-module Compatibility: 2.4.7-2.4.9 Code Quality: Warning Tests: N/A Security: Pass OSL-3.0

Are you the maintainer of fooman?

Packagento pulls fooman's Composer packages from the public registry so buyers can find them here.

Claim the namespace to take ownership, publish new releases directly, and start charging for premium versions.

Claim this namespace →

Same Order Invoice Number Extension for Magento 2

For a Magento 1.x compatible version please see http://www.magentocommerce.com/magento-connect/same-order-invoice-number-by-fooman.html (currently not available via github)

Change Log

[104.5.0] - 2026-05-06

Added

  • Support for Php 8.5

Changed

  • Lowest supported versions are now Magento 2.4.4-p13 and php 8.1 - use previous versions for older Magento versions

[104.4.0] - 2025-03-31

Added

  • Support for Php 8.4

[104.3.0] - 2024-03-26

Added

  • Support for Php 8.3

Changed

  • Code style updates for newer Magento Coding Standard

[104.2.0] - 2023-03-06

Added

  • Support for Php 8.2

Changed

  • Minimum Magento version is now 2.3.0 - for earlier versions please use previous releases

[104.1.2] - 2022-09-12

Fixed

  • Avoid collection side effects

[104.1.1] - 2022-04-29

Fixed

  • Handle collisions when pre-existing increment numbers are higher than order numbers - thanks @fredden

[104.1.0] - 2022-03-29

Added

  • Compatibility with Magento 2.4.4
  • Support for Php 8.0/8.1

[104.0.0] - 2020-07-30

Added

  • Compatibility with Magento 2.4.0
  • Support for Php 7.4

Changed

  • Minimum Magento version is now 2.2.0 - for earlier versions please use previous releases

[103.0.4] - 2020-01-24

Fixed

  • Acceptance tests for 2.2.11

[103.0.3] - 2019-10-03

Added

  • Support for PHP 7.3

[103.0.2] - 2019-06-26

Fixed

  • Stabilise functional tests for 2.3.2

[103.0.1] - 2019-03-27

Added

  • Initial MFTF acceptance test

[103.0.0] - 2018-11-28

Added

  • Support for Magento 2.3

Changed

  • Package name renamed to fooman/sameorderinvoicenumber-implementation-m2, installation should be via metapackage fooman/sameorderinvoicenumber-m2
  • Increased version number by 100 to differentiate from metapackage

[2.1.1] - 2018-07-22

Changed

  • Reorganised unit tests

Fixed

  • Shipment Integration test for Magento 2.2.5

[2.1.0] - 2017-09-27

Added

  • Support for PHP 7.1
  • Support for Magento 2.2.0

[2.0.5] - 2016-05-30

Fixed

  • Update functional tests to work with 2.1.0-rc1

[2.0.4] - 2016-05-24

Fixed

  • Widen Dependency Definition to work with 2.1.0

[2.0.3] - 2016-04-03

Changed

  • Move dependencies in right location in composer.json
  • Add integration tests

[2.0.2] - 2016-02-10

Fixes

  • resource_ids updated to work with new Magento Core module names

[2.0.1] - 2015-12-15

Fixes

  • registration.php was missing from autoload

[2.0.0] - 2015-12-08

Changed

  • Change project folder structure to src/ and tests/

[1.0.3] - 2015-12-06

Added

  • Initial release for Magento 2
Versions
Version Stability QA Status Compatibility Released
104.5.0 stable Pass Magento 2.4.7-2.4.9 Details 2026-05-06 05:47:51
104.4.0 stable Not tested Not yet tested Details 2025-03-31 21:42:44
104.3.0 stable Not tested Not yet tested Details 2024-03-26 01:05:40
104.2.0 stable Not tested Not yet tested Details 2023-03-06 03:44:11
104.1.2 stable Not tested Not yet tested Details 2022-09-12 05:04:11
104.1.1 stable Not tested Not yet tested Details 2022-04-29 01:54:26
104.1.0 stable Not tested Not yet tested Details 2022-03-29 23:15:27
104.0.0 stable Not tested Not yet tested Details 2020-07-30 01:51:50
103.0.4 stable Not tested Not yet tested Details 2020-01-24 12:49:47
103.0.3 stable Not tested Not yet tested Details 2019-10-03 17:14:22
103.0.2 stable Not tested Not yet tested Details 2019-06-26 01:22:39
103.0.1 stable Not tested Not yet tested Details 2019-03-27 21:07:25
103.0.0 stable Not tested Not yet tested Details 2018-11-28 07:23:51
2.1.1 stable Not tested Not yet tested Details 2018-07-22 23:58:52
2.1.0 stable Not tested Not yet tested Details 2017-09-27 11:19:08
2.0.5 stable Not tested Not yet tested Details 2016-05-30 11:33:57
2.0.4 stable Not tested Not yet tested Details 2016-05-24 17:03:42
2.0.3 stable Not tested Not yet tested Details 2016-04-03 03:32:03
2.0.2 stable Not tested Not yet tested Details 2016-02-10 07:49:31
2.0.1 stable Not tested Not yet tested Details 2015-12-22 23:31:26
2.0.0 stable Not tested Not yet tested Details 2015-12-08 01:11:39
1.0.3 stable Not tested Not yet tested Details 2015-12-06 10:17:45

Requires 4

Package Constraint
php ~8.1.0||~8.2.0||~8.3.0||~8.4.0||~8.5.0
magento/framework ^103.0.4-p13
magento/module-backend ^102.0.4-p12
magento/module-sales ^103.0.4-p13

Requires-dev 1

Package Constraint
fooman/testing-and-quality-tools ^1.5.4

Compatibility

Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass Pass
2.4.9 Pass Pass

Code Quality

Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge. A phpcs finding can't make a module incompatible.

Static analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

Static analysis results
Tool Status Findings Summary
PHPCS Warning 36 36 warnings (ruleset: Magento2) — 6 auto-fixable with phpcbf
PHPMD Pass 0
Cpd Pass 0
Composer validate Info 1 valid; 1 advisory note (composer validate --strict)

PHPStan

Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass Pass
2.4.9 Pass Pass

Tests

Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.

Unit tests

Unit tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Integration tests

Integration tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Security

Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.

Security results
Tool Status Findings Summary
Composer audit N/A 0 no resolvable dependency tree to audit — Your requirements could not be resolved to an installable set of packages. Problem 1
Malware scan Pass 0
License
OSL-3.0

More from fooman

View vendor
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.