carlosocarvalho/flysystem-cloudinary

Flysystem adapter for Cloudinary

v2.0.2 2021-06-30 14:50 UTC

This package is auto-updated.

Last update: 2021-11-30 17:47:03 UTC


README

Adapter for theleague php flysystem for Cloudin

Codacy Badge Author Latest Stable Version Total Downloads License Suggesters Dependents composer.lock Monthly Downloads

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 );

List contents and others actions use Filesystem api

$filesystem->listContents()

For use in laravel

Access this repository