PHPackages                             lenvanessen/cloudflare-image-transforms - 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. lenvanessen/cloudflare-image-transforms

ActiveCraft-plugin

lenvanessen/cloudflare-image-transforms
=======================================

Offloads image transformations to CloudFlare

2.2.0(8mo ago)21134[1 PRs](https://github.com/lenvanessen/craft-cloudflare-image-transforms/pulls)mitPHPPHP &gt;=8.0.2CI passing

Since Apr 19Pushed 8mo ago2 watchersCompare

[ Source](https://github.com/lenvanessen/craft-cloudflare-image-transforms)[ Packagist](https://packagist.org/packages/lenvanessen/cloudflare-image-transforms)[ RSS](/packages/lenvanessen-cloudflare-image-transforms/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (3)Versions (10)Used By (0)

Cloudflare Image Transforms Plugin for Craft
============================================

[](#cloudflare-image-transforms-plugin-for-craft)

This plugin integrates Cloudflare's image transformation capabilities into Craft CMS, allowing you to offload the heavy lifting of creating and managing image transformations to Cloudflare. By leveraging Cloudflare's efficient image processing, you can significantly reduce server load and improve performance compared to handling transformations with PHP.

Prerequisites
-------------

[](#prerequisites)

Before using this plugin, ensure you meet the following prerequisites:

- Have a Cloudflare account with image transformations enabled. You can enable this feature through the Cloudflare dashboard. Refer to the [Cloudflare documentation](https://developers.cloudflare.com/images/transform-images/) for more information.
- Images must be hosted on a domain with Cloudflare acting as a CDN. This can be achieved through various setups, such as using an S3 volume with a custom public Cloudflare R2 domain or having Cloudflare in front of your entire domain.

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

[](#installation)

You can install the plugin via Composer and Craft CLI:

```
composer require lenvanessen/cloudflare-image-transforms
php craft plugin/install cloudflare-image-transforms
```

Configuration
-------------

[](#configuration)

After installation, follow these steps to configure the plugin:

1. Enable Cloudflare Transformations: Ensure that Cloudflare image transformations are enabled for your Cloudflare account. Refer to the Cloudflare documentation for guidance on enabling transformations.
2. Enable Transformations for Your Domain: In your Cloudflare dashboard, navigate to Images &gt; Transformations and enable transformations for your specific domain.
3. Create an API Key: Create a new API key in your Cloudflare account that has the necessary permissions to purge your Cloudflare cache.
4. Configure Settings: In the Craft CMS control panel, go to Settings &gt; Plugins &gt; Cloudflare Image Transforms. Enter your Cloudflare Zone ID and API key in the provided fields.

Credits
-------

[](#credits)

This plugin was inspired by and includes code from Pixel &amp; Tonic's implementation for Craft Cloud. Many thanks to them for their contribution and inspiration.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance59

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.5% 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 ~81 days

Recently: every ~121 days

Total

7

Last Release

264d ago

Major Versions

1.0.3 → 2.0.02024-05-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e05f0077d10f9ef66e3e5326a9944dd94b6266de8c219da5117b959fb28a654?d=identicon)[wndr](/maintainers/wndr)

---

Top Contributors

[![lenvanessen](https://avatars.githubusercontent.com/u/23024452?v=4)](https://github.com/lenvanessen "lenvanessen (19 commits)")[![mashedkeyboard](https://avatars.githubusercontent.com/u/16772519?v=4)](https://github.com/mashedkeyboard "mashedkeyboard (1 commits)")[![neilh-cogapp](https://avatars.githubusercontent.com/u/11613173?v=4)](https://github.com/neilh-cogapp "neilh-cogapp (1 commits)")

### Embed Badge

![Health badge](/badges/lenvanessen-cloudflare-image-transforms/health.svg)

```
[![Health](https://phpackages.com/badges/lenvanessen-cloudflare-image-transforms/health.svg)](https://phpackages.com/packages/lenvanessen-cloudflare-image-transforms)
```

###  Alternatives

[spicyweb/craft-neo

A Matrix-like field type with block hierarchy

395798.1k10](/packages/spicyweb-craft-neo)[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.4M46](/packages/nystudio107-craft-seomatic)[craftcms/commerce

Craft Commerce

243416.9k153](/packages/craftcms-commerce)[putyourlightson/craft-blitz

Intelligent static page caching for creating lightning-fast sites.

153471.5k29](/packages/putyourlightson-craft-blitz)[verbb/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[verbb/image-resizer

Resize assets when they are uploaded.

127269.1k7](/packages/verbb-image-resizer)

PHPackages © 2026

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