1
0
Fork 0

simplify the readme, defer to documentation

pull/5544/head
Rob Bast 2016-07-25 09:01:02 +02:00
parent 04605e4f90
commit a480e53234
1 changed files with 5 additions and 26 deletions

View File

@ -1,7 +1,7 @@
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.
@ -12,33 +12,12 @@ See [https://getcomposer.org/](https://getcomposer.org/) for more information an
Installation / Usage
--------------------
1. 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).
Download and install Composer by following the [official instructions](https://getcomposer.org/download/).
``` json
{
"require": {
"monolog/monolog": ">=1.0.0"
}
}
```
Packages
--------
3. Run Composer: `php composer.phar install`
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.
Find packages on [Packagist](https://packagist.org).
Community
---------