Contributing to phpgeo
Note: It's a good idea to open an issue
for bugs or feature proposals first.
The contribution workflow is described as follows:
- Fork phpgeo, clone repository (
git clone git@github.com:yourname/phpgeo.git
)
- Checkout your feature or bug-fix branch (e. g.
git checkout -b fix-random-bug
)
- Install dependencies:
composer install
- Add tests for your changes
- Make your changes
- Run the tests (
composer ci
)
- Iterate through steps 3 to 5 until all tests pass.
- Commit your changes (
git add -A -- . && git commit
)
- Push to your fork (
git push --set-upstream origin fix-random-bug
)
- Create a pull request from your feature or bug-fix branch to phpgeo's "master" branch