| 1 |
# Contributing |
| 2 |
|
| 3 |
If you would like to help, please take a look at the list of |
| 4 |
[](https://github.com/composer/installers/issuesissues](https://github.com/composer/installers/issues](https://github.com/composer/installers/issues). |
| 5 |
|
| 6 |
## Pull requests |
| 7 |
|
| 8 |
* [](https://help.github.com/articles/fork-a-repoFork and clone](https://help.github.com/articles/fork-a-repo](https://help.github.com/articles/fork-a-repo). |
| 9 |
* Run the command `php composer.phar install` to install dependencies. |
| 10 |
* Use the command `phpunit` to run the tests. |
| 11 |
* Create a branch, commit, push and send us a |
| 12 |
[](https://help.github.com/articles/using-pull-requestspull request](https://help.github.com/articles/using-pull-requests](https://help.github.com/articles/using-pull-requests). |
| 13 |
|
| 14 |
To ensure a consistent code base, you should make sure the code follows the |
| 15 |
coding standards [](http://www.php-fig.org/psr/psr-1/PSR-1](http://www.php-fig.org/psr/psr-1/](http://www.php-fig.org/psr/psr-1/) and |
| 16 |
[](http://www.php-fig.org/psr/psr-2/PSR-2](http://www.php-fig.org/psr/psr-2/](http://www.php-fig.org/psr/psr-2/). |
| 17 |
|
| 18 |
## Creating a new Installer |
| 19 |
|
| 20 |
* Create a class with your Installer that extends `Composer\Installers\BaseInstaller`. |
| 21 |
* Add your Installer to `Composer\Installers\Installer::$supportedTypes`. |
| 22 |
* Create unit tests as a separate class or as part of `Composer\Installers\Test\InstallerTest`. |
| 23 |
* Add information about your Installer to `README.md` in section "Current Supported Package Types". |
| 24 |
* Run the tests. |
| 25 |
|