进入到具体的工程目录下, composer require xxxxxx
如 composer require tencentcloud/tencentcloud-sdk-php
包找不到的时候,可以更新镜像
composer 镜像更新
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
进入到具体的工程目录下, composer require xxxxxx
如 composer require tencentcloud/tencentcloud-sdk-php
包找不到的时候,可以更新镜像
composer 镜像更新
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/