如果laravel执行composer时让添加 用户名 密码 执行 composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ 就可以了