mac下 php Composer 安装
1、下载Composerphp -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"//先下载composer-setup.phpphp -r "if (hash_file('SHA384', 'composer-setup.php') === '669656bab3166a7aff8a7506b8cb2d1c292f042046c5a994c43155c0be6190fa0355160742ab2e1c88d40d5be660b410') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" //检查composer-setup.php

3、安装composer命令安装为全局命令:mv composer.phar /usr/local/bin/composer如果没有权限,执行sudo chmod +xcomposer

5、composer全部命令

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:92
阅读量:31
阅读量:92
阅读量:26
阅读量:74