PHPackages                             deuxhuithuit/craft-cloudflare-images - 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. deuxhuithuit/craft-cloudflare-images

ActiveCraft-plugin[Image &amp; Media](/categories/media)

deuxhuithuit/craft-cloudflare-images
====================================

Upload your images assets to Cloudflare Images from Craft CMS assets interface. It exposes the a file system and supports craft image transforms.

2.3.1(4w ago)16971proprietaryPHPPHP ^8.2|^8.3|^8.4CI passing

Since Oct 30Pushed 4w ago1 watchersCompare

[ Source](https://github.com/DeuxHuitHuit/craft-cloudflare-images)[ Packagist](https://packagist.org/packages/deuxhuithuit/craft-cloudflare-images)[ RSS](/packages/deuxhuithuit-craft-cloudflare-images/feed)WikiDiscussions dev Synced 2d ago

READMEChangelog (10)Dependencies (15)Versions (21)Used By (0)

Craft CMS Cloudflare Images
===========================

[](#craft-cms-cloudflare-images)

> This plugin offers a easy way to upload your images assets to Cloudflare Images from Craft CMS assets interface. It exposes the a file system and supports craft image transforms.

Installation:

1. Install with composer

```
composer require deuxhuithuit/craft-cloudflare-images
```

2. Install in craft

```
craft plugin/install cloudflare-images
```

3. Add your account id, account hash and api token in the settings. Those can be found in your Cloudflare dashboard. We recommend to use env vars for this.
4. Go in craft and create a new File System using the Cloudflare Image FS. Also create a new Volume that uses this FS. It can be used as the main FS, or simply as a transform FS in an existing Volume.
5. Make sure Flexible Variants are enabled in your Cloudflare dashboard (see ). By default, Cloudflare Images do not generate publicly accessible images. Enabling flexible variants will generate publicly accessible images and allow for craft image transform to work. The public url is accessible via the `$asset->cloudflareImagesUrl()` method. If flexible variants are not enabled, the image is only accessible via Craft's Control Panel.
6. Profit!

Account migration
-----------------

[](#account-migration)

When moving images from one Cloudflare account to another:

1. Run **download** while the plugin still uses the **old** account credentials.
2. Update the plugin settings to the **new** account ID, hash, and API token.
3. Run **reupload** with `--dry-run` first to validate local files, then without it to upload.

```
php craft cloudflare-images/download
# update CLOUDFLARE_* env vars / plugin settings
php craft cloudflare-images/reupload  --dry-run
php craft cloudflare-images/reupload
```

Reupload skips assets already on the current account. Use `--force` to upload them again.

Made with ❤️ in Montréal.

(c) Deux Huit Huit

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance94

Actively maintained with recent releases

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 95.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 ~54 days

Recently: every ~120 days

Total

19

Last Release

28d ago

Major Versions

1.2.0 → 2.0.02024-08-13

1.2.1 → 2.2.02025-01-21

1.3.0 → 2.2.12025-01-30

1.3.1 → 2.2.22025-03-18

v1.x-dev → 2.2.32025-06-03

PHP version history (4 changes)1.0.0PHP ^8.1|^8.2

1.0.2PHP ^8.1|^8.2|^8.3

2.0.0PHP ^8.2|^8.3

2.2.3PHP ^8.2|^8.3|^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/d9dd0ccaee103d53ba8a49b4d4918c2f1489da0f6c6fc173051576230ce615ae?d=identicon)[nitriques](/maintainers/nitriques)

---

Top Contributors

[![nitriques](https://avatars.githubusercontent.com/u/771169?v=4)](https://github.com/nitriques "nitriques (45 commits)")[![f-elix](https://avatars.githubusercontent.com/u/47465520?v=4)](https://github.com/f-elix "f-elix (2 commits)")

---

Tags

craft-plugincraftcmscraftcms-pluginhacktoberfestvideoimagescloudflarecraft cms

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/deuxhuithuit-craft-cloudflare-images/health.svg)

```
[![Health](https://phpackages.com/badges/deuxhuithuit-craft-cloudflare-images/health.svg)](https://phpackages.com/packages/deuxhuithuit-craft-cloudflare-images)
```

###  Alternatives

[spacecatninja/imager-x

Ninja powered image transforms.

29409.3k40](/packages/spacecatninja-imager-x)

PHPackages © 2026

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