I got a problem, I tried to install a new package to my Laravel 4 project. But when I run php composer.phar update I get this:
php composer.phar update
Loading composer
Solved on Laravel/Homestead (Vagrant Windows)
Edit Homestead.yaml and increase memory from 2048 to 4096
Homestead.yaml
vagrant up
vagrant ssh
Install Symfony with this line on the folder you choose (must be without files)
COMPOSER_MEMORY_LIMIT=-1 composer create-project symfony/website-skeleton . -s dev