cloudinary / cloudinary-magento2

cloudinary/cloudinary-magento2

Cloudinary Magento 2 Integration.

magento2-module Compatibility: 2.4.7-2.4.9 Code Quality: Fail Tests: N/A Security: Pass MIT

Are you the maintainer of cloudinary?

Packagento pulls cloudinary's Composer packages from the public registry so buyers can find them here.

Claim the namespace to take ownership, publish new releases directly, and start charging for premium versions.

Claim this namespace →

Cloudinary Magento 2 Extension


The Cloudinary Magento extension links your Magento website to your Cloudinary account, allowing you to serve all your product, category, and content management system (CMS) images directly from Cloudinary.

Before you install the extension, make sure you have a Cloudinary account. You can start by signing up for a free plan. When your requirements grow, you can upgrade to a plan that best fits your needs.

For more information on using the Cloudinary Magento 2 extension, take a look at our documentation.

Installation


You can download and install the extension from the Magento Marketplace or install it via composer by running the following commands under your Magento 2 root dir:

composer require cloudinary/cloudinary-magento2
php bin/magento maintenance:enable
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento maintenance:disable
php bin/magento cache:flush


https://www.cloudinary.com/

Copyright © 2026 Cloudinary. All rights reserved.

Cloudinary Logo

Changelog

Deprecation Notice

Image Delivery Domain Sharding (CDN Subdomain)

The Image Delivery Domain Sharding feature (cdn_subdomain) is deprecated and will be removed in the next major version.

How to Disable via Magento CLI

To disable the Image Delivery Domain Sharding setting using the Magento CLI, run:

bin/magento config:set cloudinary/configuration/cloudinary_cdn_subdomain 0

To verify the current value:

bin/magento config:show cloudinary/configuration/cloudinary_cdn_subdomain

After changing the configuration, flush the cache:

bin/magento cache:flush

Alternative: Disable via Admin Panel

  1. Navigate to Stores > Configuration > Cloudinary > Settings
  2. Expand the Auto-upload section
  3. Set Image Delivery Domain Sharding to No
  4. Click Save Config
  5. Flush cache
Versions
Version Stability QA Status Compatibility Released
2.1.6 stable Fail Magento 2.4.7-2.4.9 Details 2026-06-17 20:16:14
2.1.5 stable Fail Magento 2.4.7-2.4.8 Details 2026-04-29 15:46:18
2.1.4 stable Not tested Not yet tested Details 2026-03-10 16:17:37
2.1.3 stable Not tested Not yet tested Details 2025-11-17 13:05:08
2.1.2 stable Not tested Not yet tested Details 2025-10-27 13:48:47
2.1.1 stable Not tested Not yet tested Details 2025-09-23 09:06:12
2.1.0 stable Not tested Not yet tested Details 2025-08-06 15:41:05
2.0.2 stable Not tested Not yet tested Details 2025-07-09 15:20:30
2.0.1 stable Not tested Not yet tested Details 2025-05-06 14:05:55
2.0.0 stable Not tested Not yet tested Details 2025-03-05 09:32:42
1.20.52 stable Not tested Not yet tested Details 2025-01-14 03:35:21
1.20.4 stable Not tested Not yet tested Details 2024-09-17 14:38:17
1.20.3 stable Not tested Not yet tested Details 2024-08-20 15:02:25
1.20.2 stable Not tested Not yet tested Details 2024-07-10 16:10:07
1.20.1 stable Not tested Not yet tested Details 2024-06-16 11:37:06
1.20.0 stable Not tested Not yet tested Details 2024-05-20 13:33:11
1.19.92 stable Not tested Not yet tested Details 2023-12-24 14:03:02
1.19.9 stable Not tested Not yet tested Details 2023-10-01 11:09:35
1.19.90 stable Not tested Not yet tested Details 2023-10-01 11:06:21
1.19.8.1 stable Not tested Not yet tested Details 2023-10-01 09:25:11
1.19.8 stable Not tested Not yet tested Details 2023-09-26 14:28:47
1.19.7 stable Not tested Not yet tested Details 2023-08-29 15:36:10
1.19.6 stable Not tested Not yet tested Details 2023-08-07 14:45:11
1.19.5 stable Not tested Not yet tested Details 2023-05-18 11:04:10
1.19.4 stable Not tested Not yet tested Details 2023-02-08 10:14:26
1.19.3 stable Not tested Not yet tested Details 2022-12-12 12:39:00
1.19.2 stable Not tested Not yet tested Details 2022-10-25 14:34:50
1.19.1 stable Not tested Not yet tested Details 2022-10-02 12:25:15
1.19.0 stable Not tested Not yet tested Details 2022-09-28 16:08:56
1.18.0 stable Not tested Not yet tested Details 2022-05-15 14:36:28
1.17.0 stable Not tested Not yet tested Details 2022-01-10 09:38:49
1.16.1 stable Not tested Not yet tested Details 2021-09-13 08:49:09
1.16.0 stable Not tested Not yet tested Details 2021-08-01 18:52:53
1.15.2 stable Not tested Not yet tested Details 2021-07-12 14:43:02
1.15.1 stable Not tested Not yet tested Details 2021-06-30 14:44:35
1.14.13 stable Not tested Not yet tested Details 2021-06-27 12:27:25
1.14.11 stable Not tested Not yet tested Details 2021-05-20 13:45:22
1.14.10 stable Not tested Not yet tested Details 2021-05-13 08:43:57
1.14.9 stable Not tested Not yet tested Details 2021-05-11 17:38:03
1.14.8 stable Not tested Not yet tested Details 2021-04-28 10:49:49
1.14.7 stable Not tested Not yet tested Details 2021-03-01 15:28:49
1.14.6 stable Not tested Not yet tested Details 2021-02-11 15:28:31
1.14.4 stable Not tested Not yet tested Details 2020-10-07 10:18:27
1.14.3 stable Not tested Not yet tested Details 2020-10-05 15:26:09
1.14.2 stable Not tested Not yet tested Details 2020-10-04 09:54:21
1.14.1 stable Not tested Not yet tested Details 2020-09-06 08:28:08
1.13.0 stable Not tested Not yet tested Details 2020-07-29 06:04:54
1.11.3 stable Not tested Not yet tested Details 2020-05-11 07:20:01
1.11.2 stable Not tested Not yet tested Details 2020-04-23 11:12:36
1.11.1 stable Not tested Not yet tested Details 2020-04-12 06:14:37
1.10.6 stable Not tested Not yet tested Details 2020-01-26 10:04:57
1.10.5 stable Not tested Not yet tested Details 2020-01-16 07:49:09
1.10.4 stable Not tested Not yet tested Details 2019-11-21 15:06:13
1.10.3 stable Not tested Not yet tested Details 2019-11-21 14:45:13
1.10.1 stable Not tested Not yet tested Details 2019-10-23 08:58:39
1.10.0 stable Not tested Not yet tested Details 2019-09-23 10:34:35
1.9.9 stable Not tested Not yet tested Details 2019-09-18 10:52:07
1.9.8 stable Not tested Not yet tested Details 2019-09-12 14:03:11
1.9.7 stable Not tested Not yet tested Details 2019-08-04 12:10:57
1.9.6 stable Not tested Not yet tested Details 2019-07-17 09:46:34
1.9.5 stable Not tested Not yet tested Details 2019-07-16 10:38:18
1.9.4 stable Not tested Not yet tested Details 2019-07-14 08:24:36
1.9.1 stable Not tested Not yet tested Details 2019-07-03 10:06:22
1.9.0 stable Not tested Not yet tested Details 2019-04-30 12:52:15
1.7.6 stable Not tested Not yet tested Details 2019-02-17 12:44:18
1.7.5 stable Not tested Not yet tested Details 2019-02-14 15:13:29
1.7.4 stable Not tested Not yet tested Details 2019-01-14 10:26:48
1.7.3 stable Not tested Not yet tested Details 2018-12-30 15:59:40
1.7.2 stable Not tested Not yet tested Details 2018-12-30 13:33:42
1.7.0 stable Not tested Not yet tested Details 2018-12-26 09:03:37
1.6.8 stable Not tested Not yet tested Details 2018-12-19 15:35:16
1.6.5 stable Not tested Not yet tested Details 2018-12-13 15:31:38
1.6.4 stable Not tested Not yet tested Details 2018-12-10 13:13:07
1.6.3 stable Not tested Not yet tested Details 2018-11-28 08:44:06

Requires 2

Package Constraint
cloudinary/cloudinary_php ^3.0 || >=2.7 <=2.11.0
php >=7.3

Compatibility

Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass Pass
2.4.9 Pass Pass

Code Quality

Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge. A phpcs finding can't make a module incompatible.

Static analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

Static analysis results
Tool Status Findings Summary
PHPCS Warning 775 775 warnings (ruleset: Magento2) — 145 auto-fixable with phpcbf
PHPMD Warning 165 165 rule violations (MissingImport:33, IfStatementAssignment:25, UnusedFormalParameter:24, UndefinedVariable:24, UnusedLocalVariable:18)
Cpd Warning 2 2 duplicated chunks spanning 103 total lines (min-lines=5, min-tokens=70)
Composer validate Info 1 valid; 1 advisory note (composer validate --strict)

PHPStan

Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 437 437
2.4.8 438 438
2.4.9 436 436

Tests

Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.

Unit tests

Unit tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Integration tests

Integration tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Security

Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.

Security results
Tool Status Findings Summary
Composer audit Pass 0
Malware scan Pass 0
License
MIT
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.