You can use composer to download qingstor-sdk
:
composer require yunify/qingstor-sdk
- Download
qingstor-sdk.phar
from the latest release - Include in your php code
include '/path/to/qingstor-sdk.phar';
or
require_once '/path/to/qingstor-sdk.phar';
- Clone source code
git clone [email protected]:yunify/qingstor-sdk-php.git
cd qingstor-sdk-php && composer install
- Require
autoload.php
in your php code
require_once '/path/to/qingstor-sdk/vendor/autoload.php';