PHP code example of tavux / laravel-ibm-cos

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

    

tavux / laravel-ibm-cos example snippets


use Illuminate\Support\Facades\Storage;

Storage::disk('ibm-cos')->allFiles('/');