Adapter for theleague php flysystem for Cloudin
Install
composer require carlosocarvalho/flysystem-cloudinary
Example
use CarlosOCarvalho\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()