Thank you for considering contributing to tiktoken-php!
Create an issue on GitHub with:
- A clear title
- Detailed description
- Relevant use cases
- Fork the repository to your GitHub account.
- Clone your fork:
git clone https://github.com/YOUR-USERNAME/tiktoken-php.git
- Create a branch:
git checkout -b feature/your-feature-name
- Make your changes, following the project’s coding standards.
- Refactor your code:
composer refactor
- Push to your fork:
git push origin feature/your-feature-name
- Open a pull request with a clear description and reference any related issues.
- Ensure your code follows the project’s coding style by running
composer lint
. - Send a coherent commit history, making sure each individual commit in your pull request is meaningful.
- You may need to rebase to avoid merge conflicts.
- Remember that we follow Semantic Versioning (SemVer).
Run all tests:
composer test
Check code quality:
composer test:refactor
Check types:
composer test:types
Unit tests:
composer test:unit
Thank you for contributing to tiktoken-php!