Skip to content

Commit 8a487d6

Browse files
committed
#4 Update docs, add contributing guide
1 parent 558cfd7 commit 8a487d6

File tree

3 files changed

+76
-0
lines changed

3 files changed

+76
-0
lines changed

.github/CONTRIBUTING.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Contributing
2+
3+
Contributions are **welcome** and will be fully **credited**.
4+
5+
Please read and understand the contribution guide before creating an issue or pull request.
6+
7+
8+
## Etiquette
9+
10+
This project is open source, and as such, the maintainers give their free time to build and maintain the source code
11+
held within. They make the code freely available in the hope that it will be of use to other developers. It would be
12+
extremely unfair for them to suffer abuse or anger for their hard work.
13+
14+
Please be considerate towards maintainers when raising issues or presenting pull requests. Let's show the
15+
world that developers are civilized and selfless people.
16+
17+
It's the duty of the maintainer to ensure that all submissions to the project are of sufficient
18+
quality to benefit the project. Many developers have different skillsets, strengths, and weaknesses. Respect the maintainer's decision, and do not be upset or abusive if your submission is not used.
19+
20+
21+
## Viability
22+
23+
When requesting or submitting new features, first consider whether it might be useful to others. Open
24+
source projects are used by many developers, who may have entirely different needs to your own. Think about
25+
whether or not your feature is likely to be used by other users of the project.
26+
27+
28+
## Procedure
29+
30+
Before filing an issue:
31+
32+
- Attempt to replicate the problem, to ensure that it wasn't a coincidental incident.
33+
- Check to make sure your feature suggestion isn't already present within the project.
34+
- Check the pull requests tab to ensure that the bug doesn't have a fix in progress.
35+
- Check the pull requests tab to ensure that the feature isn't already in progress.
36+
37+
Before submitting a pull request:
38+
39+
- Check the codebase to ensure that your feature doesn't already exist.
40+
- Check the pull requests to ensure that another person hasn't already submitted the feature or fix.
41+
42+
43+
## Requirements
44+
45+
If the project maintainer has any additional requirements, you will find them listed here.
46+
47+
- **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** - The easiest way to apply the conventions is to install [PHP Code Sniffer](https://pear.php.net/package/PHP_CodeSniffer).
48+
- **Add tests!** - Your patch won't be accepted if it doesn't have tests.
49+
- **Document any change in behaviour** - Make sure the `README.md` and any other relevant documentation are kept up-to-date.
50+
- **Consider our release cycle** - We try to follow [SemVer v2.0.0](https://semver.org/). Randomly breaking public APIs is not an option.
51+
- **One pull request per feature** - If you want to do more than one thing, send multiple pull requests.
52+
- **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.
53+
54+
**Happy coding**!

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Ask a question
4+
url: https://github.com/InteractionDesignFoundation/laravel-geoip/discussions/new?category=q-a
5+
about: Ask the community for help
6+
- name: Request a feature
7+
url: https://github.com/InteractionDesignFoundation/laravel-geoip/discussions/new?category=ideas
8+
about: Share ideas for new features
9+
- name: Report a bug
10+
url: https://github.com/InteractionDesignFoundation/laravel-geoip/issues/new
11+
about: Report a reproducable bug

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# GeoIP for Laravel
22

3+
[![run-tests](https://github.com/InteractionDesignFoundation/laravel-geoip/actions/workflows/run-tests.yml/badge.svg)](https://github.com/InteractionDesignFoundation/laravel-geoip/actions/workflows/run-tests.yml)
34
[![Latest Stable Version](https://poser.pugx.org/interaction-design-foundation/laravel-geoip/v/stable.png)](https://packagist.org/packages/interaction-design-foundation/laravel-geoip)
45
[![Total Downloads](https://poser.pugx.org/interaction-design-foundation/laravel-geoip/downloads.png)](https://packagist.org/packages/interaction-design-foundation/laravel-geoip)
56

@@ -115,6 +116,16 @@ Some cache drivers offer the ability to clear cached locations:
115116
php artisan geoip:clear
116117
```
117118

119+
### Changelog
120+
121+
Please see [Releases](https://github.com/InteractionDesignFoundation/nova-unlayer-field/releases) for more information on what has changed recently.
122+
123+
124+
## Contributing
125+
126+
Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.
127+
128+
118129
## Contributions
119130

120131
Many people have contributed to project since its inception.

0 commit comments

Comments
 (0)