Thank you for your interest in contributing to this project. Contributions of all kinds are welcome.
- Language: PHP
- Minimum version: PHP 8.2
- Contributions are open to the public.
- Development happens on the
mainbranch. - All changes must be submitted via a pull request from a fork.
- Feature branches should be used for all work.
This project is licensed under the MIT License.
By submitting a contribution, you agree that your work will be licensed under the same MIT License.
No Contributor License Agreement (CLA) is required.
This project uses Zensical for documentation. You can run zensical serve to serve the documentation locally.
Please update the documentation in README.md and the docs directory, where applicable.
This project uses php-cs-fixer for code formatting. You can run php-cs-fixer fix to fix the code style.
Test creation is required for:
- New features
- Bug fixes where tests reasonably prevent regressions
Contributors are encouraged to maintain or improve overall test coverage.
WebFramework uses Codeception for testing. The main test and analysis commands are:
vendor/bin/codecept runThe project uses PHPStan for static analysis. You can run:
vendor/bin/phpstanBefore submitting a pull request, ensure your code adheres to the existing php-cs-fixer configuration in the repository, and the static analysis and tests pass. The projects CI will run php-cs-fixer, codeception and phpstan to check the code style, unit tests and static analysis.