-
Notifications
You must be signed in to change notification settings - Fork 0
Contributing
adumont-payplug edited this page Jul 6, 2026
·
2 revisions
See the Home page for make install and the available make targets. All tooling runs
inside a dev Docker container — no local PHP/Composer install required.
Before committing, make sure the full quality gate passes:
make quality
This runs code style checks, PHPStan static analysis, and the PHPUnit suite — the same checks enforced in CI.
- Follow PSR-12 and the existing code style;
make cs-fixapplies formatting automatically. - New code goes under the existing
src/categories (Contracts/,Exceptions/,Models/,Utilities/Helpers/) rather than new top-level directories — see Architecture. - No PHP syntax newer than 7.1 in
src/ortests/(see Architecture for why). This is checked automatically in CI and locally via git hooks.
- Branch from
developand open pull requests againstdevelop. - Keep PRs focused and include tests for new behavior.
- A git hook (CaptainHook) runs code style checks on commit; CI re-runs the full quality and compatibility matrix on the PR.
Core foundations shared library for Payplug e-commerce plugins
Guides