thedarkkid / cloudinary-flysystem
Flysystem adapter for Cloudinary
dev-master
2019-06-18 18:41 UTC
Requires
- php: >=5.4.0
- cloudinary/cloudinary_php: ^1.3
- league/flysystem: ^1.0
Requires (Dev)
- mockery/mockery: 0.9.*
- phpunit/phpunit: ~4.0
This package is auto-updated.
Last update: 2024-04-19 21:25:35 UTC
README
Adapter for theleague php flysystem for Cloudinary, with methods to support Laravel Voyager Media.
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]