This topic describes how to add dependencies to install the Alibaba Cloud SDK for PHP.
- Your system meets the requirements.
- An Alibaba Cloud account is created and an 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 Alibaba Cloud SDK for PHP 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.