Thank you for considering contributing to the TAAPI PHP Library! This document outlines the process for contributing to this project.
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/taapi-php.git - Create a new branch:
git checkout -b feature/your-feature-name - Install dependencies:
composer install
- Follow PSR-12 coding standards
- Use strict types:
declare(strict_types=1); - Add PHPDoc comments to all public methods and classes
- Use type hints for all parameters and return types
- Write tests for all new features
- Ensure all tests pass before submitting a PR:
composer test - Maintain or improve code coverage
- Add both unit and integration tests where appropriate
- Use clear and descriptive commit messages
- Start with a verb in present tense (e.g., "Add", "Fix", "Update")
- Reference issue numbers when applicable
- Update the README.md with details of changes if needed
- Update the CHANGELOG.md with your changes
- Ensure all tests pass
- Update documentation if you're changing functionality
- Submit your pull request with a clear description of the changes
- Be respectful and inclusive
- Welcome newcomers and help them get started
- Focus on constructive feedback
- Maintain a positive and collaborative environment
If you have questions, feel free to open an issue or contact the maintainer at sovletig@gmail.com.
Thank you for your contributions!