PHP code example of tijsdriven / m2-module-alibabacloud-oss

1. Go to this page and download the library: Download tijsdriven/m2-module-alibabacloud-oss 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/ */

    

tijsdriven / m2-module-alibabacloud-oss example snippets

 
'remote_storage' => [
    'driver' => 'tijsdriven-alibabacloud-oss',
    'prefix' => '',
    'config' => [
        'region' => 'oss-cn-hangzhou',
        'bucket' => 'my-oss-bucket',
    ]
]