All Products
Search
Document Center

Install dependencies

Last Updated: Apr 27, 2018

Download PHP SDK

Download address:

  • aliyun-php-sdk-core
  • aliyun-php-sdk-green

  • • After downloading the preceding two compressed packages, create a directory named aliyuncs under your project, and decompress the two packages to this directory. The directory structure after decompression is as follows:

  1. aliyuncs/aliyun-php-sdk-core/....
  2. aliyuncs/aliyun-php-sdk-green/Green/....
  • Introduce them during code development:
  1. include_once 'aliyuncs/aliyun-php-sdk-core/Config.php';
  2. use Green\Request\V20170825 as Green;

PHP version

5.3+