PHPackages                             ichub/ichub-openapi-sdk-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. ichub/ichub-openapi-sdk-php

ActiveLibrary[API Development](/categories/api)

ichub/ichub-openapi-sdk-php
===========================

ichub api sdk

1.0.6(6y ago)07MITPHPPHP 7.0

Since Jun 24Pushed 6y agoCompare

[ Source](https://github.com/qingfenglaike/ichub-api-sdk-php)[ Packagist](https://packagist.org/packages/ichub/ichub-openapi-sdk-php)[ RSS](/packages/ichub-ichub-openapi-sdk-php/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (3)Used By (0)

ICHUB OpenApi SDK for PHP
=========================

[](#ichub-openapi-sdk-for-php)

Run environment
---------------

[](#run-environment)

- PHP 7.0+.
- cURL extension.

Tips:

- In Ubuntu, you can use the ***apt-get*** package manager to install the *PHP cURL extension*: `sudo apt-get install php5-curl`.

Install ICHUB APi PHP SDK
-------------------------

[](#install-ichub-api-php-sdk)

- If you use the ***composer*** to manage project dependencies, run the following command in your project's root directory:

    ```
      composer require ichub/ichub-openapi-sdk-php

    ```

    You can also declare the dependency on Alibaba Cloud OSS SDK for PHP in the `composer.json` file.

    ```
      "require": {
          "ichub/ichub-openapi-sdk-php": "~1.0"
      }

    ```

    Then run `composer install` to install the dependency. After the Composer Dependency Manager is installed, import the dependency in your PHP code:

    ```
      require_once __DIR__ . '/vendor/autoload.php';

    ```
- You can also directly download the packaged \[PHAR File\]\[releases-page\], and introduce the file to your code:

    ```
      require_once '/path/to/ichub-openapi-sdk-php.phar';

    ```
- Download the SDK source code, and introduce the `autoload.php` file under the SDK directory to your code:

    ```
      require_once '/path/to/ichub-openapi-sdk-php/autoload.php';

    ```

### supply sample

[](#supply-sample)

```
