Thank you for your interest in contributing to Dataphyre! We value your efforts to help improve this project, whether through code, documentation, bug reports, feature requests, or other means. This guide will help you get started with contributing.
Please note that all contributors are expected to adhere to the Code of Conduct. We strive to create a welcoming, inclusive, and harassment-free environment for everyone.
To start contributing:
- Fork the Dataphyre repository to your GitHub account.
- Clone the forked repository to your local machine:
git clone https://github.com/jeremie5/Dataphyre.git cd Dataphyre
Ensure you have the prerequisites installed, including PHP (>= 8.1) and Composer. Run:
composer install
Run the existing test suite to make sure everything is working. (Details on test commands can be found in the README or specific module documentation.)
When reporting bugs, please include:
- A clear and descriptive title.
- Steps to reproduce the issue.
- Expected behavior vs. actual behavior.
- Any relevant logs, screenshots, or error messages.
If you have ideas to make Dataphyre better, feel free to suggest features! Please include:
- A clear description of the proposed feature.
- How it benefits the framework and potential use cases.
- Any examples or context to support your suggestion.
Well-documented code is essential to the success of Dataphyre. Contributions to documentation are always welcome. If you spot errors, inconsistencies, or areas for improvement, please help us improve clarity by submitting a pull request.
-
Create a new branch for your work:
git checkout -b feature/your-feature-name
-
Make changes in your branch, and include tests for any new functionality.
-
Commit your changes (following the Commit Messages guide below).
-
Push your branch to GitHub:
git push origin feature/your-feature-name
-
Open a Pull Request (PR) from your branch to the main branch in the Dataphyre repository. Please provide a detailed description of the changes in the PR.
- Follow existing project coding standards.
- Use meaningful variable and function names.
- Keep functions short and focused, aiming for single-responsibility.
- Add comments where necessary for clarity.
- Format: Use the format
Type: Description
. - Types:
feat
: Introduce a new featurefix
: Fix a bugdocs
: Changes to documentationstyle
: Code style changes (formatting, missing semicolons, etc.)refactor
: Refactoring code without changing functionalitytest
: Adding or modifying tests
Example commit message:
feat: add async task scheduling to Async module
By contributing, you agree that your contributions will be licensed under the same license as the project. For more details, refer to the LICENSE file in this repository.
Thank you for contributing to Dataphyre! We’re excited to work together to build a high-quality, scalable PHP framework.