[ErrorException] file_put_contents(C:\Users\sujay\AppData\Roaming\Composer/vendor/composer/installed.json): failed to open stream: P ermission denied in windows code example
Example: [ErrorException] file_put_contents(./composer.json): failed to open stream: Permission denie d
sudo chown -R $USER ~/.composer/