Contributing
Thank you for your interest in contributing to Validation Box! Whether you’re fixing bugs, adding new features, improving documentation, or suggesting ideas, your contributions make a difference.
How to Contribute
Contributing to Validation Box is easy! Follow these steps to get started:
Fork & Clone the Repository
Before making any changes, you need to fork the repository on GitHub and clone it locally. This allows you to work on the codebase without affecting the main project.
Install Dependencies
Validation Box is designed to be lightweight and dependency-free for users, but for development, we use a few tools. To get started, install the necessary dependencies:
This will set up the project environment so you can start coding.
Make Your Changes
There are multiple ways to contribute:
- Fix Bugs – Identify and resolve existing issues.
- Add New Validation Methods – Improve the library with new functionality.
- Enhance Performance – Optimize regex, execution time, or structure.
- Improve Documentation – Make it clearer and more user-friendly.
Running & Testing Your Code
Before submitting your changes, you should test them to ensure everything is working as expected.
Validation Box includes automated tests to maintain stability. Run the following command to execute all test cases:
Submitting a Pull Request
Once you're happy with your changes, it's time to submit a Pull Request (PR) to merge your work into the project.
Other Ways to Contribute
Not comfortable with coding? You can still contribute in other valuable ways!
- Report Bugs – Found an issue? Open a GitHub Issue.
- Suggest Features – Have an idea? Start a Feature Discussion.
- Improve Documentation – Help make the docs clearer and easier to understand.
- Spread the Word – Share Validation Box on Twitter, LinkedIn, and dev communities.