1
0
Fork 0

Merge remote-tracking branch 'digitalkaoz/issue_245'

pull/260/head
Jordi Boggiano 2012-01-24 22:48:19 +01:00
commit 6b2e53836b
1 changed files with 7 additions and 2 deletions

View File

@ -10,7 +10,12 @@ See the [about page](http://packagist.org/about) on [packagist.org](http://packa
Installation / Usage Installation / Usage
-------------------- --------------------
1. Download the [`composer.phar`](http://getcomposer.org/composer.phar) executable 1. Download the [`composer.phar`](http://getcomposer.org/composer.phar) executable or use the installer.
$ curl http://getcomposer.org/installer | php
2. Create a composer.json defining your dependencies. Note that this example is 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 a short version for applications that are not meant to be published as packages
themselves. To create libraries/packages please read the [guidelines](http://packagist.org/about). themselves. To create libraries/packages please read the [guidelines](http://packagist.org/about).
@ -43,7 +48,7 @@ Since composer works with the current working directory it is possible to instal
in a system wide way. in a system wide way.
1. Change into a directory in your path like `cd /usr/local/bin` 1. Change into a directory in your path like `cd /usr/local/bin`
2. Get composer `wget http://getcomposer.org/composer.phar` 2. Get composer `curl http://getcomposer.org/installer | php`
3. Make the phar executeable `chmod a+x composer.phar` 3. Make the phar executeable `chmod a+x composer.phar`
3. Change into a project directory `cd /path/to/my/project` 3. Change into a project directory `cd /path/to/my/project`
4. Use composer as you normally would `composer.phar install` 4. Use composer as you normally would `composer.phar install`