t3chnik / flysystem-cloudinary-adapter
Flysystem Cloudinary Adapter
dev-master / 1.0.x-dev
2015-09-26 19:25 UTC
Requires
- php: >=5.3.0
- cloudinary/cloudinary_php: dev-master
- league/flysystem: ~1.0
This package is not auto-updated.
Last update: 2024-12-21 19:52:25 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.