t3chnik/flysystem-cloudinary-adapter

dev-master / 1.0.x-dev 2015-09-26 19:25 UTC

This package is not auto-updated.

Last update: 2024-04-27 16:25:37 UTC


README

This is quickly done in order to satisfy current needs. My contain a lot of bugs. I guess this is work in progress.

Since Cloudinary (great service!) has really bad both documentation and official PHP library - making this was a pain. Hence for now there is no tests.

Install

Via Composer

Usage

$config = [
    'api_key' => env('CLOUDINARY_API_KEY'),
    'api_secret' => env('CLOUDINARY_API_SECRET'),
    'cloud_name' => env('CLOUDINARY_CLOUD_NAME'),
];
$filesystem = new League\Flysystem\Filesystem(new CloudinaryAdapter($config, new Cloudinary\Api));

Contributing

Contributions are welcome and will be fully credited.

Credits

License

The MIT License (MIT). Please see License File for more information.