composer require 包地址
提示找不到,但是确实存在
一直用的国内的镜像源
composer config -g repo.packagist composer https://packagist.phpcomposer.com
[RuntimeException]
No composer.json present in the current directory, this may be the cause of the following exception.
[InvalidArgumentException]
Could not find package mikecao/flight.
Did you mean one of these?
mikecao/flight
geogkary/breeze
然后在好网上搜罗搜罗
才发现。。。好像是源有问题、、、、、、F??U/?????C、、K
换成国内阿里云的
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
没啥好说的,难。