1、先把composer调成国内镜像:
composer config -g repo.packagist composer https://packagist.phpcomposer.com
不更换也行,但是很慢,建议更换
2、进项目根目录(不是public)
composer require workerman/gateway-worker
2024-04-12 08:38:44
1、先把composer调成国内镜像:
composer config -g repo.packagist composer https://packagist.phpcomposer.com
不更换也行,但是很慢,建议更换
2、进项目根目录(不是public)
composer require workerman/gateway-worker