PHP code example of dansmaculotte / flysystem-cloudinary
1. Go to this page and download the library: Download dansmaculotte/flysystem-cloudinary 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/ */
dansmaculotte / flysystem-cloudinary example snippets
use DansMaCulotte\Flysystem\Cloudinary\CloudinaryAdapter as Adapter;
$config = [
'api_key' => ':key',
'api_secret' => ':secret',
'cloud_name' => ':name',
];
$container = new Adapter($config);
$filesystem = new League\Flysystem\Filesystem( $container );
$filesystem->listContents()