PHP code example of cloudinary / cloudinary_php
1. Go to this page and download the library: Download cloudinary/cloudinary_php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
cloudinary / cloudinary_php example snippets
use Cloudinary\Cloudinary;
$cloudinary = new Cloudinary();
$cloudinary->image('sample.jpg')->resize(Resize::fill()->width(100)->height(150))->format(Format::auto());
$cloudinary->uploadApi->upload('my_image.jpg');
bash
composer