1
0
Fork 0

Merge pull request #5544 from alcohol/update-readme

Update readme
pull/5557/head
Jordi Boggiano 2016-07-26 15:51:33 +02:00 committed by GitHub
commit 4a4e5726dd
2 changed files with 7 additions and 28 deletions

View File

@ -2,7 +2,7 @@ Contributing to Composer
======================== ========================
Please note that this project is released with a Please note that this project is released with a
[Contributor Code of Conduct](http://contributor-covenant.org/version/1/2/0/). [Contributor Code of Conduct](http://contributor-covenant.org/version/1/4/).
By participating in this project you agree to abide by its terms. By participating in this project you agree to abide by its terms.
Reporting Issues Reporting Issues

View File

@ -1,7 +1,7 @@
Composer - Dependency Management for PHP Composer - Dependency Management for PHP
======================================== ========================================
Composer helps you declare, manage and install dependencies of PHP projects, ensuring you have the right stack everywhere. Composer helps you declare, manage and install dependencies of PHP projects.
See [https://getcomposer.org/](https://getcomposer.org/) for more information and documentation. See [https://getcomposer.org/](https://getcomposer.org/) for more information and documentation.
@ -12,33 +12,12 @@ See [https://getcomposer.org/](https://getcomposer.org/) for more information an
Installation / Usage Installation / Usage
-------------------- --------------------
1. Download and install Composer by following the [official instructions](https://getcomposer.org/download/). Download and install Composer by following the [official instructions](https://getcomposer.org/download/).
2. Create a composer.json defining your dependencies. Note that this example is
a short version for applications that are not meant to be published as packages
themselves. To create libraries/packages please read the
[documentation](https://getcomposer.org/doc/02-libraries.md).
``` json Packages
{ --------
"require": {
"monolog/monolog": ">=1.0.0"
}
}
```
3. Run Composer: `php composer.phar install` Find packages on [Packagist](https://packagist.org).
4. Browse for more packages on [Packagist](https://packagist.org).
Global installation of Composer (manual)
----------------------------------------
Follow instructions [in the documentation](https://getcomposer.org/doc/00-intro.md#globally)
Updating Composer
-----------------
Running `php composer.phar self-update` or equivalent will update a phar
install to the latest version.
Community Community
--------- ---------
@ -50,7 +29,7 @@ For support, Stack Overflow also offers a good collection of
[Composer related questions](https://stackoverflow.com/questions/tagged/composer-php). [Composer related questions](https://stackoverflow.com/questions/tagged/composer-php).
Please note that this project is released with a Please note that this project is released with a
[Contributor Code of Conduct](http://contributor-covenant.org/version/1/2/0/). [Contributor Code of Conduct](http://contributor-covenant.org/version/1/4/).
By participating in this project and its community you agree to abide by those terms. By participating in this project and its community you agree to abide by those terms.
Requirements Requirements