CONTRIBUTING
June 13, 2025 ยท View on GitHub
Contributions are welcome, and are accepted via pull requests. Please review these guidelines before submitting any pull requests.
Process
- Fork the project
- Create a new branch
- Code, test, commit and push
- Open a pull request detailing your changes
Development Workflow
Clone your fork, then install the dev dependencies:
composer install
Running Linters
Lint your code:
composer lint
Lint and fix:
composer lint:fix
Running Tests
Run all tests:
composer test
Unit tests:
composer test:unit
Integration tests require Docker. The container starts automatically:
composer test:integration
Contract tests download the OpenAPI spec and validate the SDK's models against it:
composer test:contract
Documentation
Update the documentation:
composer docs:api
Releasing
Use the release Composer command to create a new release.
composer release X.Y.Z
This command triggers a workflow that will:
- Update the CHANGELOG.md file
- Renames the "Unreleased" section to the new version
- Update the version const in
Client.php - Run our linters and test suite
- Create a new git tag
- Push the tag to GitHub
- Regenerate the API documentation
- Update the GitHub wiki
- Update the LLM-friendly llms.txt
- Draft a new release on GitHub