TODO: one-line pitch. Longer description of what this module does, who it's for, and the integration it provides for Maho Commerce.
- PHP >= 8.3
- Maho Commerce
composer require mahocommerce/module-NAMETODO: how to enable and configure the module from the Maho admin (System → Configuration → ...).
This module ships with the standard Maho CI gates:
- PHPStan (level 8) —
vendor/bin/phpstan analyze - Rector (dry-run) —
vendor/bin/rector -c .rector.php --dry-run - PHP CS Fixer (dry-run) —
vendor/bin/php-cs-fixer fix --dry-run - PHP / XML syntax checks — automatic on CI
Run composer install and you can execute any of the above locally before pushing.
When you create a new repo from this template:
- Rename placeholders — find/replace
NAMEandmodule-NAMEacross the repo:composer.json→nameanddescriptionREADME.md→ title, pitch, install command
- Update the badge URLs if you want CI status badges (they're not included by default — the 4 static badges above are the org standard).
- Bootstrap the module code under
app/code/community/Vendor/Module/(orapp/code/core/Maho/Module/for first-party Maho modules) and declare it inapp/etc/modules/Vendor_Module.xml. - Add
.github/FUNDING.yml(already included — leave as-is for org-owned repos, edit/remove for forks). - Update this section of the README with the real module docs once you've shipped something.
See an existing module for reference: module-mollie, module-przelewy24.