If you have improvements to PHP Ton Client, send us your pull requests!
PRs to our libraries are always welcome and can be a quick way to get your fix
or improvement slated for the next release.
In general, we follow the "fork-and-pull" Git workflow:
- Fork the repository to your own Github account
- Clone the project to your machine
- Create a branch locally with a succinct but descriptive name
- Make changes
- Write tests
- Run tests, phpstan, check codestyle.
- Commit changes to the branch
- Push changes to your fork
- Open a PR in our repository and follow the PR template so that we can efficiently review the changes.
ExtraTON team members will be assigned to review your pull requests.
Also you can report a problem via issue section or in telegram chat.
Changes to PHP Ton Client code should conform to PSR2 Coding Style Guide
Use php-cs-fixer to check your changes:
make codestyle
make test
make analyze