composer require报错[InvalidArgumentException] Could not find package
原因:镜像源出现问题
修改镜像源:
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
更换成阿里云镜像云即可
原因:镜像源出现问题
修改镜像源:
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
更换成阿里云镜像云即可