Thank you for considering contributing to PHPiggy! This document provides guidelines and instructions for contributing to this project.
By participating in this project, you agree to abide by the Code of Conduct.
Before creating bug reports, please check the issue list to see if the problem has already been reported. If it has and the issue is still open, add a comment to the existing issue instead of opening a new one.
When you are creating a bug report, please include as many details as possible:
- Use a clear and descriptive title
- Describe the exact steps to reproduce the problem
- Provide specific examples to demonstrate the steps
- Describe the behavior you observed after following the steps
- Explain which behavior you expected to see instead and why
- Include screenshots if possible
- Include details about your configuration and environment
Enhancement suggestions are tracked as GitHub issues. When creating an enhancement suggestion, please include:
- Use a clear and descriptive title
- Provide a step-by-step description of the suggested enhancement
- Describe the current behavior and explain the behavior you expected to see instead
- Explain why this enhancement would be useful to most users
- Fill in the required template
- Do not include issue numbers in the PR title
- Follow the coding conventions and style
- Include appropriate test cases
- Document new code based on the project's documentation style
- End all files with a newline
- Fork the repository
- Create a feature branch from
main - Make your changes
- Run tests
- Push your branch to your fork
- Submit a pull request
- Follow PSR-12 coding standards
- Use meaningful variable and function names
- Add comments for complex code sections
- Write unit tests for new features
- Use the present tense ("Add feature" not "Added feature")
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 72 characters or less
- Reference issues and pull requests after the first line
This project uses labels to help organize and identify issues and pull requests:
bug: Something isn't workingdocumentation: Improvements or additions to documentationenhancement: New feature or requestgood first issue: Good for newcomershelp wanted: Extra attention is needed
Thank you for contributing to PHPiggy!