PHP code example of tianye / alisdk

1. Go to this page and download the library: Download tianye/alisdk library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

tianye / alisdk example snippets


\AliSdk\Core\Config::init('appid', 'rsa_private_key_pkcs8.pem', 'rsa_public_ali_key.pem');