A Simple Cloudinary Wrapper for Laravel ^5.2
CloudinaryWrapper is a package for Laravel ^5.2 that provides simple wrapper for Cloudinary.
What is Cloudinary? See cloudinary.com.
From the command line, run:
composer require diegofelix/cloudinary-wrapper
For your Laravel app, open
config/app.php and, within the
providers array, append:
This will bootstrap the package into Laravel.
For this package works, you must create three .env variables in your
CLOUDINARY_NAME=appname CLOUDINARY_KEY=yourkey CLOUDINARY_SECRET:yoursecret
Now that the package was installed, you can use any of the methods that cloudinary provides as well some of my wrappers.
Have a look at Cloudinary documentation.
To access the original Cloudinary methods you can access using the following methods:
They will give you the main instances for Cloudinary.
This simple package has no tests, so if you want to help with testing and cover other methods of cloudinary I appreciate it!