This topic describes how to add dependencies to install Alibaba Cloud SMS SDK for PHP.
Before you install and use the PHP SDK, the Alibaba Cloud account is created and the AccessKey pair is created. For more information, see Create an AccessKey pair.
To install dependencies by using the Composer dependency manager, perform the following operation:
composer require alibabacloud/client
For more information about Composer and other installation methods, see Installation guide.
After the PHP SDK is installed, you can use OpenAPI Explorer to generate the sample code of API operations for the SDK, and apply the sample code in your projects. For more information, see Installation and usage guide.