windows下安裝composer windows下安裝composer方法

參考資料:安裝Composer , windows下安裝composer方法php

1.下載而且運行 Composer-Setup.exehtml

2.安裝完後執行命令:(注意V是大寫的)windows

C:\Users\username>composer -V
Composer version 27d8904
配置中國區鏡像若是安裝成功,就會出現相似如上的版本信息

3.
在cmd命令下執行:
composer config -g repo.packagist composer https://packagist.phpcomposer.com
相關文章
相關標籤/搜索