Skip to content

flysytem adapter for cloudinary, specifically modified to work with laravel voyager.

Notifications You must be signed in to change notification settings

thedarkkid/cloudinary-flysystem-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flysystem-cloudinary

Adapter for theleague php flysystem for Cloudinary, with methods to support Laravel Voyager Media.

Author Latest Stable Version Total Downloads Latest Unstable Version License

Install

composer require thedarkkid/cloudinary-flysystem

Example

use TheDarkKid\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/laryhoFolaranmi/cloudinary-flysystem-adapter]

About

flysytem adapter for cloudinary, specifically modified to work with laravel voyager.

Resources

Stars

Watchers

Forks

Packages

No packages published