Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 2.12 KB

README.md

File metadata and controls

44 lines (30 loc) · 2.12 KB

flysystem-cloudinary V2

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