标签:conf depend phpstudy secure bsp 扩展 setup 系统环境 pat
1.在你的phpstudy或者wamp中开启extension=php_openssl.dll扩展 (php配置文件)并配置好php的环境变量
2.在与你安装phpstudy和wamp不一样的盘中创建文件夹 :phpStudy\composer目录
3.cmd输入
1)php -r "copy(‘https://install.phpcomposer.com/installer‘, ‘composer-setup.php‘);"
命令:
2)php composer-setup.php
命令:
echo @php "%~dp0composer.phar" %*>composer.bat
命令:
composer -V
composer config -g secure-http false
composer config -g repo.packagist composer https://packagist.phpcomposer.com
命令:
php composer.phar install
命令:
composer install
命令:
composer selfupdate
命令:
composer update
将composer目录添加到系统环境
path 中
关于win10安装composer PHP 用来管理依赖(dependency)关系的工具
标签:conf depend phpstudy secure bsp 扩展 setup 系统环境 pat
原文地址:http://www.cnblogs.com/lodada/p/6877150.html