# Contributing

First off, thank you for considering contributing to HaTeMiLe for WP.

## Table of contents

* [Code of conduct](#code-of-conduct)
* [Reporting bugs](#reporting-bugs)
* [Request new feature](#request-new-feature)
* [Translating](#translating)
* [Code contribution](#code-contribution)
  * [Pull request](#pull-request)
  * [Styleguides](#styleguides)
    * [Git commit messages](#git-commit-messages)
    * [PHP styleguide](#php-styleguide)
* [Donate](#donate)

## Code of conduct

This project and everyone participating in it is governed by the [HaTeMiLe for WP code of conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [3837162+carlsonsantana@users.noreply.github.com](mailto:3837162+carlsonsantana@users.noreply.github.com).

## Reporting bugs

This section guides you through submitting a bug report for HaTeMiLe for WP.

Before submitting a bug report check if you're using the latest version of HaTeMiLe for WP and [ensure the bug was not already reported](https://github.com/hatemile/hatemile-for-wp/issues).

If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/hatemile/hatemile-for-wp/issues/new).

## Request new feature

This section guides you through request new feature for HaTeMiLe for WP.

Before submitting a request feature check if you're using the latest version of HaTeMiLe for WP and [ensure the feature was not already requested](https://github.com/hatemile/hatemile-for-wp/issues).

If you're unable to find an open issue requesting this feature, [open a new one](https://github.com/hatemile/hatemile-for-wp/issues/new).

## Translating

[To translate the HaTeMiLe you must access our project in Zanata](https://translate.zanata.org/project/view/hatemile), you will need a account to translate.

## Code contribution

If you want submit your code to HaTeMiLe for WP you need follow the code conventions, the styleguides and pull request process.

### Pull request

1. [Install Composer](https://getcomposer.org/download/);
2. [Fork the repository](https://help.github.com/articles/fork-a-repo/);
3. Start coding :smile:;
4. [Commit and push your changes](https://help.github.com/articles/adding-a-file-to-a-repository-using-the-command-line/);
5. [Do a pull-request](https://help.github.com/articles/creating-a-pull-request/) with a short description explaining briefly what you've done.

### Styleguides

#### Git commit messages

* Limit to one line
* Limit the line to 72 characters or less
* Reference issues after comma
* Start the commit message with an applicable emoji:
  * :tada: `:tada:` Initial commit
  * :art: `:art:` Cosmetic
  * :racehorse: `:racehorse:` Performance
  * :memo: `:memo:` Documentation
  * :bug: `:bug:` Bugfix
  * :fire: `:fire:` Remove code
  * :white_check_mark: `:white_check_mark:` Tests
  * :sparkles: `:sparkles:` New Feature
  * :recycle: `:recycle:` Refactoring
  * :globe_with_meridians: `:globe_with_meridians:` Internationalization
  * :octocat: `:octocat:` GitHub especific resource
  * :bookmark: `:bookmark:` Version Tag
  * :wrench: `:wrench:` Tooling
  * :lock: `:lock:` Security

#### PHP styleguide

The HaTeMiLe for WP follow the [PHP Standards Recommendations](https://www.php-fig.org/psr/).
  
## Donate
  
If you'd like to monetarily support HaTeMiLe for WP development, you can:
* [Donate to us by PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=JSM3YP3AWH87Y);
* Donate Bitcoin to **1EhnFFHv2MheyNHViwYWhKjSWoVjSnJMzA** wallet address;
* Donate Ethereum to **0x1f9b88c3fbd4823eac4910f456a4036e24e87f5b** wallet address;
* Donate Litecoin to **LhLTYbH2CwCuAHEkedvmHyTBQTWfCb2aK3** wallet address;
* Donate Dogecoin to **DECZbbUb8kGKau8ycUmdgmfaPbkBTaApjQ** wallet address;
* Donate Tether to **1EnvcNeo1gp27h8mVLMgMuiJvq8UHCENdX** wallet address.
