This page contains guidelines for contributing to the PHPHtmlParser package. Please review these guidelines before submitting any puLl requests to the package.
We follow the PSR-4 autoloading standard and follow the PSR-12 coding style guide. To make it easy to comply with the coding standard we use php-cs-fixer to manage the style of the code base. Before pushing your code please ensure you run the following on your changes.
./vendor/bin/php-cs-fixer fix
Please ensure you comply to these standards when creating a PR to make it easy to review and merge. Thank you.