I attempted to install aws/aws-sdk-php
yesterday on one of my Laravel 4 projects using Composer, I cannot remember exactly the chain of events but it did not in
At the present moment there is a bug on Composer causing memory to be exhausted.
If you do
composer install
Then delete a folder inside vendor
rm -rf vendor/laravel
and do
composer update
You'll get this error. It's a bug, it is not supposed to run out of memory.
For now you can fix it for yourself by doing:
php -d memory_limit=-1 /usr/local/bin/composer update
Also, check this thread, they are about to fix this.