摘要:
1:最低要求 PHP 5.6
2:安装了composer
3:阿里云composer镜像地址命令(如果设置过就不需要):
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
4:安装 SDK 核心库 OpenAPI : Alibaba Cloud SDK for PHP 作为依赖项:
composer require alibabacloud/darabonba-openapi
5:阿里云短信SDK安装包命令(官方地址:https://next.api.aliyun.com/api-tools/sdk/Dysmsapi):
composer require alibabacloud/dysmsapi-20170525 2.0.8 阅读全文