PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of carlos carvalho   Flysystem Cloudinary   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Flysystem Cloudinary
Access files stored in Cloudinary using Flysystem
Author: By
Last change:
Date: 4 years ago
Size: 2,132 bytes
 

Contents

Class file image Download

flysystem-cloudinary

Adapter for theleague php flysystem for Cloudinary

Codacy Badge Author Latest Stable Version Total Downloads Latest Unstable Version License Build Status PHP Composer codecov

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

[https://github.com/carlosocarvalho/laravel-storage-cloudinary]