Contributing
Fork the repository and create a branch for your change. Include a regression test for behavior changes and update the affected documentation.
PHP checks
From the repository root:
composer install
composer cs-check
composer testUse composer cs-fix to apply coding standard fixes. To run the static analysis used by CI:
composer stan-setup
composer stancomposer test-coverage writes reports under tmp/coverage and needs a PHP coverage driver. GitHub Actions checks the supported PHP and database combinations; see the repository's CI workflow for the current matrix.
Documentation
From the docs directory:
npm ci
npm run docs:devOpen the local URL printed by VitePress. Before submitting documentation changes, check the production build:
npm run docs:build
npm run docs:previewThe docs package overrides VitePress's Vite dependency to a patched Vite 6 release. When updating these dependencies, check the production build and development server before changing or removing that override.
CI builds the site for pull requests. After changes reach master, the deployment workflow publishes it to GitHub Pages. Repository settings must use GitHub Actions as the Pages source.
See the CakePHP coding conventions and PSR-2-R coding standards for the PHP style used in this repository.