Thank you for considering contributing to our rahul-godiyal/php-ups-api-wrapper! We welcome contributions from the community and are grateful for your interest in improving this project.
- How to Contribute
- Reporting Bugs
- Suggesting Features
- Submitting Pull Requests
- Development Setup
- Code Style
- License
If you find a bug, please open an issue on GitHub. Include as much detail as possible to help us understand and replicate the issue. Information such as the PHP version, the version of the library, and the steps to reproduce the issue are very helpful.
We welcome feature suggestions! If you have an idea for a new feature, please open an issue on GitHub with the following details:
- A clear and descriptive title for the feature.
- A detailed description of the feature and why it would be useful.
- Any code examples or API designs, if applicable.
Before you start working on a pull request, please open an issue to discuss the change you want to make. This helps us ensure that your contribution is in line with the project's goals and avoids duplicate efforts.
- Fork the Repository: Create a personal fork of the repository on GitHub.
- Clone the Fork: Clone your forked repository to your local machine.
git clone https://github.com/ragod123/php-ups-api-wrapper.git
- Create a Branch: Create a new branch for your work.
git checkout -b feature/your-feature-name
- Make Changes: Make your changes to the code.
- Commit Changes: Commit your changes with a meaningful commit message.
git commit -m "Add feature to validate address"
- Push Changes: Push your changes to your fork.
git push origin feature/your-feature-name
- Open a Pull Request: Go to the original repository on GitHub and open a pull request. Provide a clear description of the changes and link to any relevant issues.
To set up a development environment for this project:
- Clone the Repository: Clone the repository to your local machine.
git clone https://github.com/ragod123/php-ups-api-wrapper.git
- Install Dependencies: Install the required dependencies using Composer.
composer install
- Run Tests: Ensure that all tests pass.
./vendor/bin/phpunit
Please follow these guidelines to maintain a consistent code style:
- Use PSR-12 coding standards.
- Ensure all code is properly commented.
- Write meaningful commit messages.
- Ensure that new features and bug fixes are covered by tests.
By contributing to this project, you agree that your contributions will be licensed under the project's MIT License.
Thank you for your contributions! Together, we can make this project better for everyone.