A service provider to Cloudinary API Client.
composer require mrprompt/silex-cloudinary
use SilexFriends\Cloudinary\Cloudinary as CloudinaryServiceProvider;
$app->register(
new CloudinaryServiceProvider(
$cloud_name,
$api_key,
$api_secret
)
);
$file = $app['request']->files->get('file');
$upload = $app['cloudinary.uploader']($file);
print_r($upload);
MIT