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
aws/aws-sdk-php
Easiest way to fix this on Windows is:
Goto: C:\ProgramData\ComposerSetup\bin
Edit composer.bat
Change it to:
@ECHO OFF php -d memory_limit=-1 "%~dp0composer.phar" %*
Save the file and run:
composer selfupdate