Thank you for considering contributing! Here's how to get started.
git clone https://github.com/kexxt/datapack.git
cd datapack
composer install- Create a feature branch from
main - Write your code with tests
- Run the quality checks:
composer test # Pest tests
composer analyse # PHPStan level 8
composer lint # Code style check
composer fix # Auto-fix code style- All three must pass before submitting a PR
- PHP 8.2+ with
declare(strict_types=1)in every file - PER-CS 2.0 coding standard
- PHPStan level 8 with no baseline
- Every public feature needs a test
- Keep PRs focused on a single change
- Write a clear description of what and why
- Reference any related issues
- Ensure CI passes
Open an issue with:
- What you expected
- What happened
- Steps to reproduce
- PHP version and OS