PHP code example of aquaz / laravel-filesystem-oss

1. Go to this page and download the library: Download aquaz/laravel-filesystem-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/ */

    

aquaz / laravel-filesystem-oss example snippets


'providers' => [
    \AquaZ\LaravelFilesystemOss\OssStorageServiceProvider::class,
],

   'disks' => [
        'oss' => [
            'driver' => 'oss',
            'key_id' => env('oss_id'),
            'key_secret' => env('oss_key'),
            'end_point' => env('oss_point'),
            'bucket' => env('oss_bucket'),
            'isCName' => env('oss_iscname', false)
        ],
    ],