Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Installation (for *nix platforms)

To install Composer globally (ie not for a specific project, which is recommended) run the following commands:

Code Block
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

...

Running "composer install" in the directory with this composer.json file will install all of the requirements (stated in the "require" block) in a "vendors" file.


Troubleshooting

When you run out of available memory for a large Composer build, you can increase memory usage by using...

 
php -d memory_limit=-1 /usr/local/bin/composer <command>