プロキシが必要な環境でComposerを使う場合には set HTTP_PROXY=http://ユーザ名:パスワード@プロキシのホスト:ポート番号実行する。それでもcomposerが動かない場合がある。以下の様なエラーがでるときだ。 [Composer\Downloader\TransportException] The "http://packagist.org/p/laravel/laravel$43a87xxx.json" file could not be downloaded (HTTP/1.0 404 Not Found)こういう場合は「composer diag」コマンドで原因調査ができる。 composer diag Checking platform settings: OK Checking git settings: OK Checking http connect