[php-composer] how to install composer in windows

时间:2024-06-06 19:37:20

Composer Setup

1. Choose the command-line PHP you want to use.
选择使用可以命令行的PHP程序

2. proxy Settings - choose if you want to use a proxy.
代理设置(如果不需要,不需要设置,直接点击下一步即可)

3. 安装完成 composer.exe 之后,先关闭所有的文件窗口,以及命令行窗口,重新打开命令窗口.

4. 切换到你需要通过 composer 安装依赖包的项目目录.

Installing Dependencies via Composer

Vökuró's dependencies must be installed using Composer. Install composer in a common location or in your project:

curl -s http://getcomposer.org/installer | php
Run the composer installer:

cd vokuro // windows 命令窗口切换目录方式
php composer.phar install