Skip to content

Commit af074a6

Browse files
authored
Merge pull request #1248 from hydephp/update-contributing-document
Update contributing document
2 parents c6b6ab4 + 1df1fd2 commit af074a6

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

CONTRIBUTING.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Contributions are **welcome** and will be fully **credited**.
44

5-
Please read and understand the contribution guide before creating an issue or pull request. Also please note that while HydePHP is still in development, this document is a living standard that like the rest of the codebase may change at any time.
5+
Please read and understand the contribution guide before creating an issue or pull request. This document is a living standard that may be updated when needed.
66

77
## Resources
88

@@ -25,7 +25,7 @@ quality to benefit the project. Many developers have different skill sets, stren
2525

2626
When requesting or submitting new features, first consider whether they might be useful to others. Open
2727
source projects are used by many developers, who may have entirely different needs from your own. Think about
28-
whether or not your feature is likely to be used by other users of the project.
28+
whether or not your feature is likely to be used by other users of the project, or if your feature may instead be better suited as a third party extension.
2929

3030
You may also want to make sure that your feature abides by the goals of HydePHP which are as follows:
3131

@@ -49,6 +49,14 @@ Before submitting a pull request:
4949

5050
- Check the codebase to ensure that your feature doesn't already exist.
5151
- Check the pull requests to ensure that another person hasn't already submitted the feature or fix.
52+
- Check the feature is a viable for the project (see above)
53+
54+
## How-to
55+
56+
HydePHP development is made in the HydePHP monorepo found at https://github.com/hydephp/develop.
57+
To get started, you will need to clone the repository, and run `composer install`. You will then be able to make changes to the packages found in the `packages/` sub-directories.
58+
59+
Once you've made and commited your changes, submit a pull request to the same repository, and explain your changes and how they improve the codebase.
5260

5361
## Requirements
5462

@@ -59,15 +67,14 @@ We try to follow the Laravel standards, https://laravel.com/docs/10.x/contributi
5967
- **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)**
6068

6169
**Please add tests!**
62-
- **Add tests!** - Your patch might not be accepted if it doesn't have tests.
70+
- **Add tests!** - Your patch might not be accepted if it doesn't have tests. When submitting a bug fix, make sure to include one or more tests proving the fix works, When adding features, make sure all aspects are properly tested.
6371

64-
- **Document any change in behaviour** - Make sure the `README.md` and any other relevant documentation are kept up-to-date.
72+
- **Document any change in behaviour** - Make sure the `README.md` and the project documentation are kept up-to-date.
6573

66-
<!-- Will be enabled once we enter GA
67-
- **Consider our release cycle** - We try to follow [SemVer v2.0.0](https://semver.org/). Randomly breaking public APIs is not an option. -->
74+
- **Consider our release cycle** - We try to follow [SemVer v2.0.0](https://semver.org/). Randomly breaking public APIs is not an option.
6875

6976
- **One pull request per feature** - If you want to do more than one thing, send multiple pull requests. This makes it easier to keep track of changes.
7077

71-
- **Send coherent history** - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please [squash them](https://www.git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages) before submitting.
78+
- **Send coherent history** - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please [squash them](https://www.git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages) before submitting. Making atomic commits eases the burden on the developer reviewing your pull request.
7279

7380
**Happy coding**!

0 commit comments

Comments
 (0)