php composer安装

php -r "copy('https://install.phpcomposer.com/installer', 'composer-setup.php');"     //下载安装脚本
php composer-setup.php  //下载安装composer
php -r "unlink('composer-setup.php');"   //删除安装脚本