English | 中文文档
Each SuperKernel component is an independent repository and Composer package. Work in the checkout of the component you are changing.
- PHP 8.4.27 or a later 8.4 release.
- Composer.
- The PHP extensions listed in the component's
composer.jsonunderrequireandrequire-dev.
Run these commands from the component's root:
composer install
composer validate --strict
composer test
composer format:checkcomposer format applies the formatting that composer format:check reports.
Some test suites contain tests that need a specific environment, such as ZTS PHP with Swoole thread support or a disposable Redis server. Without it, PHPUnit skips those tests and the skip message names the prerequisite.
Changes reach a component's main branch through pull requests. Keep each pull request focused on one change, and update the component's README.md and README.zh-CN.md when the change alters what the package offers developers.