andy@AndyMacBookPro:/usr/local/composer$ curl -s https://getcomposer.org/installer | php
#!/usr/bin/env php
All settings correct for using Composer
Downloading...
Composer successfully installed to: /usr/local/composer/composer.phar
Use it: php composer.phar
andy@AndyMacBookPro:/usr/local/composer$ php ./composer.phar require react/react
Using version ^0.4.2 for react/react
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing evenement/evenement (v2.0.0)
Downloading: 100%
- Installing react/stream (v0.4.3)
Downloading: 100%
- Installing react/event-loop (v0.4.1)
Downloading: 100%
- Installing react/socket (v0.4.2)
Downloading: 100%
- Installing react/promise (v2.2.1)
Downloading: 100%
- Installing react/cache (v0.4.0)
Downloading: 100%
- Installing react/dns (v0.4.1)
Downloading: 100%
- Installing react/socket-client (v0.4.4)
Downloading: 100%
- Installing psr/http-message (1.0)
Downloading: 100%
- Installing guzzlehttp/psr7 (1.2.0)
Downloading: 100%
- Installing react/http (v0.4.1)
Downloading: 100%
- Installing react/http-client (v0.4.8)
Downloading: 100%
- Installing react/child-process (v0.4.0)
Downloading: 100%
- Installing react/react (v0.4.2)
Downloading: 100%
react/event-loop suggests installing ext-libevent (>=0.1.0)
react/event-loop suggests installing ext-event (~1.0)
react/event-loop suggests installing ext-libev (*)
react/react suggests installing ext-libevent (Allows for use of a more performant event-loop implementation.)
react/react suggests installing ext-libev (Allows for use of a more performant event-loop implementation.)
react/react suggests installing ext-event (Allows for use of a more performant event-loop implementation.)
Writing lock file
Generating autoload files
andy@AndyMacBookPro:/usr/local/composer$