Skip to content

idirocco/Cloudinary

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Silex Cloudinary Provider

Build Status Code Climate Test Coverage Issue Count

A service provider to Cloudinary API Client.

Install

composer require mrprompt/silex-cloudinary

Usage

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);

License

MIT

About

Simple Silex Cloudinary Provider

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%