First off, thanks for taking the time to contribute! 🎉
The following is a set of guidelines for contributing to the PHP Debugging Tool, which is hosted in the 1manfactory/php-debugging-tool repository on GitHub.
This section guides you through submitting a bug report for the PHP Debugging Tool. Following these guidelines helps maintainers and the community understand your report, reproduce the behavior, and find related reports.
Before creating a bug report, please check the issues to see if the problem has already been reported. When you create a bug report, please include as many details as possible.
- Open a new issue and select the "Bug report" template.
- Describe the bug: Provide a clear and concise description of what the bug is.
- Steps to reproduce: Provide steps to reproduce the behavior. If possible, create a minimal reproducible example.
- Expected behavior: Describe what you expected to happen.
- Screenshots: If applicable, add screenshots to help explain your problem.
- Environment: Include any details about your environment, such as PHP version, operating system, and any relevant configurations.
- Additional context: Add any other context about the problem here.
This section guides you through submitting an enhancement suggestion for the PHP Debugging Tool, including completely new features and minor improvements to existing functionality.
- Open a new issue and select the "Feature request" template.
- Describe the enhancement: Provide a clear and concise description of what you want to happen.
- Motivation: Explain why this feature would be useful to you and others.
- Additional context: Add any other context or screenshots about the feature request here.
This section guides you through contributing code to the PHP Debugging Tool. Please follow these guidelines to help maintain a high standard of quality and consistency in the codebase.
- Fork the repository to your own GitHub account.
- Clone the repository to your local machine:
git clone https://github.com/1manfactory/php-debugging-tool.git cd php-debugging-tool
- Create a new branch for your work:
git checkout -b my-feature-branch
- Make your changes.
- Commit your changes with a clear and descriptive commit message:
git commit -m "Add feature XYZ"
- Push your changes to your fork:
git push origin my-feature-branch
- Open a Pull Request: Go to the original repository on GitHub and open a pull request with a clear title and description of your changes.
- Follow the PSR-12: Extended Coding Style Guide for PHP code.
- Write clear, concise, and meaningful commit messages.
- Add comments to explain the rationale behind your changes, especially if the code is complex or non-obvious.
- Write tests to cover your changes when applicable.
Pull requests will be reviewed by project maintainers. Feedback will be provided, and changes may be requested. Be ready to iterate on your pull request to address any concerns or suggestions.
Thank you for considering contributing to the PHP Debugging Tool! Your contributions help make this project better for everyone.