2015-01-07 20:47:00 +00:00
|
|
|
Contributing to Composer
|
|
|
|
========================
|
|
|
|
|
2015-05-10 14:20:27 +00:00
|
|
|
Please note that this project is released with a
|
|
|
|
[Contributor Code of Conduct](http://contributor-covenant.org/version/1/0/0/).
|
|
|
|
By participating in this project you agree to abide by its terms.
|
|
|
|
|
2015-01-07 20:47:00 +00:00
|
|
|
Installation from Source
|
|
|
|
------------------------
|
|
|
|
|
|
|
|
Prior to contributing to Composer, you must use be able to run the tests.
|
|
|
|
To achieve this, you must use the sources and not the phar file.
|
|
|
|
|
|
|
|
1. Run `git clone https://github.com/composer/composer.git`
|
|
|
|
2. Download the [`composer.phar`](https://getcomposer.org/composer.phar) executable
|
|
|
|
3. Run Composer to get the dependencies: `cd composer && php ../composer.phar install`
|
|
|
|
|
|
|
|
You can now run Composer by executing the `bin/composer` script: `php /path/to/composer/bin/composer`
|
|
|
|
|
|
|
|
Contributing policy
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
Fork the project, create a feature branch, and send us a pull request.
|
|
|
|
|
|
|
|
To ensure a consistent code base, you should make sure the code follows
|
2015-04-15 01:16:05 +00:00
|
|
|
the [PSR-2 Coding Standards](http://www.php-fig.org/psr/psr-2/).
|
2015-01-07 20:47:00 +00:00
|
|
|
|
2015-05-04 17:37:57 +00:00
|
|
|
If you would like to help, take a look at the [list of issues](https://github.com/composer/composer/issues).
|