Contributions are welcome, and are accepted via pull requests. Please review these guidelines before submitting any pull requests.
- Fork the project.
- Create a new branch for your changes.
- Code, test, commit, and push your changes.
- Open a pull request detailing your changes. Make sure to follow the template.
- Ensure that you follow the PSR-1, PSR-4, and PSR-12 coding standards. You can check this by running
composer lint
. - Please strive for a coherent commit history, making sure each individual commit in your pull request is meaningful.
- If necessary, please rebase to avoid merge conflicts.
- Remember that we follow SemVer. Therefore, if you are adding any changes to the API, it may only be done in a new major version.
- Any new functionality or changes should be accompanied by appropriate tests. Please ensure that all tests are passing before submitting a pull request.
Clone your fork, then install the dev dependencies:
composer install
Lint your code:
composer test:lint
Check your types:
composer test:types
Run the unit tests:
composer test:unit
Check the type coverage:
composer test:type-coverage