ampersandhq / category-code

ampersandhq/category-code

magento2-module Compatibility: 2.4.7-2.4.9 Code Quality: Fail Tests: N/A Security: N/A

Category Code

A Magento 2 module to give a category a unique code so that it may be
identified across systems.

Credit to @convenient for the magento 1 version of this.
https://github.com/convenient/CategoryCode

No changelog yet

The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.

Versions
Version Stability QA Status Compatibility Released
1.3.7 stable Fail Magento 2.4.7-2.4.9 Details 2021-02-23 12:32:10
1.3.6 stable Not tested Not yet tested Details 2021-02-19 15:30:35
1.3.5 stable Not tested Not yet tested Details 2020-11-24 16:05:53
1.3.4 stable Not tested Not yet tested Details 2020-06-02 08:38:37
1.3.3 stable Not tested Not yet tested Details 2020-03-26 09:44:25
1.3.2 stable Not tested Not yet tested Details 2020-01-10 12:49:47
1.3.1 stable Not tested Not yet tested Details 2019-11-08 10:12:17
1.3.0 stable Not tested Not yet tested Details 2019-11-08 09:39:19
1.2.7 stable Not tested Not yet tested Details 2019-06-19 13:56:57
1.2.6 stable Not tested Not yet tested Details 2019-06-19 13:42:44
1.2.5 stable Not tested Not yet tested Details 2019-06-19 12:32:40
1.2.4 stable Not tested Not yet tested Details 2018-08-02 10:12:55
1.2.3 stable Not tested Not yet tested Details 2018-01-10 11:58:08
1.2.2 stable Not tested Not yet tested Details 2017-11-09 13:54:16
1.2.1 stable Not tested Not yet tested Details 2017-09-13 08:55:38
1.2.0 stable Not tested Not yet tested Details 2017-09-12 07:33:06
1.1.0 stable Not tested Not yet tested Details 2017-05-22 11:19:49
v1.0.0 stable Not tested Not yet tested Details 2017-01-18 13:02:37

Requires 3

Package Constraint
magento/framework ^100.1.0|^101|^102|^103
magento/module-catalog ^100|^101|^102|^103|^104
snowio/magento2-lock ^1.0.0

Requires-dev 1

Package Constraint
phpunit/phpunit ~5.5

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 - Static Tests

Checks run directly against the module's source code, independent of any Magento or PHP version: coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity, and a security audit of its declared dependencies. Each runs once.

Static code-quality results
Tool Status Findings Summary
PHPCS Fail 30 1 error, 29 warnings (ruleset: Magento2) — 3 auto-fixable with phpcbf
PHPMD Warning 19 19 rule violations (IfStatementAssignment:9, MissingImport:8, UnusedFormalParameter:2)
Cpd Pass 0
Composer validate Info 1 valid; 1 advisory note (composer validate --strict)
Composer audit N/A 0 no resolvable dependency tree to audit

Code Quality - PHPStan

PHPStan type-checks the module's PHP against a real Magento install (so framework and core-module symbols resolve) at the configured gate level. Because the available symbols differ between releases, it runs separately for each Magento and PHP version. The grid below shows the result for each pairing; select one to see its findings. This never affects compatibility.

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

No license declared

This package's composer.json doesn't declare a license, homepage, or authors. Check the source repository for terms of use.

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.