PHP code example of cloudinary / url-builder

1. Go to this page and download the library: Download cloudinary/url-builder 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 / url-builder example snippets


use Cloudinary\Cloudinary;

$cloudinary = new Cloudinary();

$cloudinary->image('sample.jpg')->resize(Resize::fill()->width(100)->height(150))->format(Format::auto());