GitPedia

Cloudinary php

PHP extension for Cloudinary

From cloudinary·Updated May 27, 2026·View on GitHub·

The Cloudinary PHP SDK allows you to quickly and easily integrate your application with Cloudinary. Effortlessly optimize, transform, upload and manage your cloud's assets. The project is written primarily in PHP, distributed under the MIT License license, first published in 2012. Key topics include: cloudinary, cloudinary-api, cloudinary-php-sdk, cloudinary-sdk, hacktoberfest.

Latest release: 3.1.3Version 3.1.3
April 26, 2026View Changelog →

Tests
license
Packagist
Packagist

Cloudinary PHP SDK

About

The Cloudinary PHP SDK allows you to quickly and easily integrate your application with Cloudinary.
Effortlessly optimize, transform, upload and manage your cloud's assets.

Note

This Readme provides basic installation and usage information.
For the complete documentation, see the PHP SDK Guide.

Table of Contents

Key Features

Version Support

SDK VersionPHP 5.4PHP 5.5PHP 5.6PHP 7.xPHP 8.0 - 8.3PHP 8.4
3.x
2.x✘ *
1.x

* Deprecation warnings

Installation

bash
composer require "cloudinary/cloudinary_php"

Usage

Migration

See the Cloudinary PHP SDK Migration guide for more information
on migrating to this version of the PHP SDK.

The previous (1.x) version of the SDK is located here.

Setup

php
use Cloudinary\Cloudinary; $cloudinary = new Cloudinary();

Transform and Optimize Assets

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

Upload

php
$cloudinary->uploadApi->upload('my_image.jpg');

Security options

Contributions

  • Ensure tests run locally
  • Open a PR and ensure Travis tests pass

Get Help

If you run into an issue or have a question, you can either:

About Cloudinary

Cloudinary is a powerful media API for websites and mobile apps alike, Cloudinary enables developers to efficiently
manage, transform, optimize, and deliver images and videos through multiple CDNs. Ultimately, viewers enjoy responsive
and personalized visual-media experiences—irrespective of the viewing device.

Additional Resources

Licence

Released under the MIT license.

Contributors

Showing top 12 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from cloudinary/cloudinary_php via the GitHub API.Last fetched: 6/28/2026