Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 707 Bytes

installation.md

File metadata and controls

39 lines (26 loc) · 707 Bytes

Installation Guide

Composer (Recommended)

You can use composer to download qingstor-sdk:

composer require yunify/qingstor-sdk

Phar

  1. Download qingstor-sdk.phar from the latest release
  2. Include in your php code
include '/path/to/qingstor-sdk.phar';

or

require_once '/path/to/qingstor-sdk.phar';

Source Code

  1. Clone source code
git clone git@github.com:yunify/qingstor-sdk-php.git
cd qingstor-sdk-php && composer install
  1. Require autoload.php in your php code
require_once '/path/to/qingstor-sdk/vendor/autoload.php';