PHPackages                             cloudinary/transformation-builder-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. cloudinary/transformation-builder-sdk

ActiveLibrary[Image &amp; Media](/categories/media)

cloudinary/transformation-builder-sdk
=====================================

Cloudinary PHP Transformation Builder SDK

2.1.3(3mo ago)34.3M—5.2%5[2 issues](https://github.com/cloudinary/php-transformation-builder-sdk/issues)2MITPHPPHP &gt;=8.0.0CI passing

Since May 24Pushed 3mo ago10 watchersCompare

[ Source](https://github.com/cloudinary/php-transformation-builder-sdk)[ Packagist](https://packagist.org/packages/cloudinary/transformation-builder-sdk)[ Docs](https://github.com/cloudinary/php-transformation-builder-sdk)[ RSS](/packages/cloudinary-transformation-builder-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (14)Used By (2)

[![Build Status](https://camo.githubusercontent.com/3706795232a3b812f71c693cfddde6ca7a0536c5f978be2e74a964b1840af7b6/68747470733a2f2f6170702e7472617669732d63692e636f6d2f636c6f7564696e6172792f7068702d7472616e73666f726d6174696f6e2d6275696c6465722d73646b2e737667)](https://app.travis-ci.com/cloudinary/php-transformation-builder-sdk)[![license](https://camo.githubusercontent.com/6ce25d909f4eecdb617f9426a8063ff419328336d4cf1b63a62c989785d5c010/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f636c6f7564696e6172792f7068702d7472616e73666f726d6174696f6e2d6275696c6465722d73646b2e7376673f6d61784167653d32353932303030)](https://github.com/cloudinary/php-transformation-builder-sdk/blob/master/LICENSE)[![Packagist](https://camo.githubusercontent.com/bb65ad3a1d31c5cc8ca96b2a8307591952427d85f34b72bd0dc95814ad5fc434/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c6f7564696e6172792f7472616e73666f726d6174696f6e2d6275696c6465722d73646b2e7376673f6d61784167653d32353932303030)](https://packagist.org/packages/cloudinary/transformation-builder-sdk)[![Packagist](https://camo.githubusercontent.com/44346a01da647a4ccd9c3cb46505900d0437fa7697217fb8b4887995352a7872/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c6f7564696e6172792f7472616e73666f726d6174696f6e2d6275696c6465722d73646b2e7376673f6d61784167653d32353932303030)](https://packagist.org/packages/cloudinary/transformation-builder-sdk/stats)

Cloudinary PHP Transformation Builder SDK
=========================================

[](#cloudinary-php-transformation-builder-sdk)

About
-----

[](#about)

This is an internal Cloudinary SDK. The Cloudinary PHP Transformation Builder SDK allows you to quickly and easily generate transformation strings.

#### Note

[](#note)

This Readme provides basic installation and usage information. For the complete documentation, see the [PHP SDK Guide](https://cloudinary.com/documentation/php_integration).

Table of Contents
-----------------

[](#table-of-contents)

- [Key Features](#key-features)
- [Version Support](#Version-Support)
- [Installation](#installation)
- [Usage](#usage)
    - [Setup](#Setup)
    - [Transform and Optimize Assets](#Transform-and-Optimize-Assets)

Key Features
------------

[](#key-features)

- [Transform](https://cloudinary.com/documentation/php_video_manipulation#video_transformation_examples) and [optimize](https://cloudinary.com/documentation/php_image_manipulation#image_optimizations) assets.

Version Support
---------------

[](#version-support)

SDK VersionPHP 5.6PHP 7.xPHP 8.0 - 8.3PHP 8.41.x✔✔✔✘ \*2.x✘✘✔✔\* Deprecation warnings

Installation
------------

[](#installation)

```
composer require "cloudinary/transformation-builder-sdk"
```

Usage
=====

[](#usage)

### Setup

[](#setup)

```
use Cloudinary\Transformation;

$transformation = new Transformation();
```

### Transform and Optimize Assets

[](#transform-and-optimize-assets)

- [See full documentation](https://cloudinary.com/documentation/php_image_manipulation).

```
$transformation->resize(Resize::fill()->width(100)->height(150))->format(Format::auto());
```

Contributions
-------------

[](#contributions)

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

Get Help
--------

[](#get-help)

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

- Issues related to the SDK: [Open a GitHub issue](https://github.com/cloudinary/php-transformation-builder-sdk/issues).
- Issues related to your account: [Open a support ticket](https://cloudinary.com/contact)

About Cloudinary
----------------

[](#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
--------------------

[](#additional-resources)

- [Cloudinary Transformation and REST API References](https://cloudinary.com/documentation/cloudinary_references): Comprehensive references, including syntax and examples for all SDKs.
- [MediaJams.dev](https://mediajams.dev/): Bite-size use-case tutorials written by and for Cloudinary Developers
- [DevJams](https://www.youtube.com/playlist?list=PL8dVGjLA2oMr09amgERARsZyrOz_sPvqw): Cloudinary developer podcasts on YouTube.
- [Cloudinary Academy](https://training.cloudinary.com/): Free self-paced courses, instructor-led virtual courses, and on-site courses.
- [Code Explorers and Feature Demos](https://cloudinary.com/documentation/code_explorers_demos_index): A one-stop shop for all code explorers, Postman collections, and feature demos found in the docs.
- [Cloudinary Roadmap](https://cloudinary.com/roadmap): Your chance to follow, vote, or suggest what Cloudinary should develop next.
- [Cloudinary Facebook Community](https://www.facebook.com/groups/CloudinaryCommunity): Learn from and offer help to other Cloudinary developers.
- [Cloudinary Account Registration](https://cloudinary.com/users/register/free): Free Cloudinary account registration.
- [Cloudinary Website](https://cloudinary.com): Learn about Cloudinary's products, partners, customers, pricing, and more.

Licence
-------

[](#licence)

Released under the MIT license.

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance67

Regular maintenance activity

Popularity48

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 89.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~123 days

Recently: every ~104 days

Total

12

Last Release

99d ago

Major Versions

1.5.0 → 2.0.02024-12-16

PHP version history (2 changes)1.0.0PHP &gt;=5.6.0

2.0.0PHP &gt;=8.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/63bb27f752bdbf0c4017692238430b775e6a6e3649eb762524ebfaa51f985bf1?d=identicon)[cloudinary](/maintainers/cloudinary)

---

Top Contributors

[![const-cloudinary](https://avatars.githubusercontent.com/u/35217733?v=4)](https://github.com/const-cloudinary "const-cloudinary (26 commits)")[![dwightwatson](https://avatars.githubusercontent.com/u/1100408?v=4)](https://github.com/dwightwatson "dwightwatson (1 commits)")[![sharon-yelenik](https://avatars.githubusercontent.com/u/86607280?v=4)](https://github.com/sharon-yelenik "sharon-yelenik (1 commits)")[![wulff](https://avatars.githubusercontent.com/u/53680?v=4)](https://github.com/wulff "wulff (1 commits)")

---

Tags

cloudinarycloudinary-apicloudinary-php-sdkhacktoberfestimage-manipulationphp-librarysdksdk-phpsdkcloudcloudinarycdnimage management

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/cloudinary-transformation-builder-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/cloudinary-transformation-builder-sdk/health.svg)](https://phpackages.com/packages/cloudinary-transformation-builder-sdk)
```

###  Alternatives

[cloudinary/cloudinary_php

Cloudinary PHP SDK

39913.5M90](/packages/cloudinary-cloudinary-php)[uploadcare/uploadcare-php

Uploadcare PHP integration handles uploads and further operations with files by wrapping Upload and REST APIs.

1022.5M6](/packages/uploadcare-uploadcare-php)[fruitcake/magento2-custom-image-url

Magento2 Custom Image URLS for the catalog

268.8k](/packages/fruitcake-magento2-custom-image-url)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
