PHP code example of oss-tools / laravel-ibm-cos
1. Go to this page and download the library: Download oss-tools/laravel-ibm-cos 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/ */
oss-tools / laravel-ibm-cos example snippets
use Illuminate\Support\Facades\Storage;
Storage::disk('ibm-cos')->allFiles('/');