# magento/magento-cloud-components

> Cloud Components Module for Magento 2.x

`composer require magento/magento-cloud-components`

Canonical URL: https://packagento.com/magento/magento-cloud-components

## At a glance

- **Vendor**: magento (https://packagento.com/magento.md)
- **Latest version**: 1.1.4 — released 2026-03-06
- **Pricing**: Free
- **Package type**: Magento 2 module
- **Status**: active, accepting new buyers

## Installation

Packagento is licence-gated, so even free packages need a licence on a project before Composer can resolve them.

1. **Sign in or create an account** at https://packagento.com/customer/account/.

2. **Add the package to your account.** Open https://packagento.com/magento/magento-cloud-components and complete the free checkout. A licence is minted automatically.

3. **Create or pick a project, then activate the licence on it.**
   - Projects represent the Magento installs you deploy to. Manage them at https://packagento.com/projects/.
   - Activate the new licence on the project you'll deploy this package to. Activation is what generates the Composer credentials scoped to that project.

4. **Add the project credentials to your Magento codebase.**

   Grab the project's public + private key from https://packagento.com/projects/ (open the project, then its Credentials tab), and add them to `auth.json`:

   ```json
   {
     "http-basic": {
       "packagento.com": {
         "username": "ppk_live_...",
         "password": "psk_live_..."
       }
     }
   }
   ```

   Add the Packagento Composer repository to `composer.json`:

   ```json
   {
     "repositories": [
       { "type": "composer", "url": "https://packagento.com" }
     ]
   }
   ```

5. **Install and apply.**

   ```bash
   composer require magento/magento-cloud-components:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

Cloud Components Module for Magento 2.x

## README

The Magento Cloud Components module extends Magento Commerce core functionality for sites deployed on the Cloud platform.  This module contains cloud-specific functionality for use with the [ece-tools](https://github.com/magento/ece-tools) package.

### Contributing to the Magento Cloud Components Code Base
You can submit issues and pull requests to extend functionality or fix potential bugs. Improvements to Magento Cloud Components can include work such as improving the developer experience or optimizing the deployment process. If you find a bug or have a suggestion, let us know by creating a Github issue.

**Note:** This repository is not an official support channel. To receive project-specific help, submit a support ticket using the [Magento Support Portal](https://support.magento.com). Any support-related issues opened in this repository will be closed with a request to open a support ticket.

## Magento Cloud Suite
The Magento Cloud Suite includes a set of packages designed to deploy and manage Magento Commerce installations on the Cloud platform.
- The [ece-tools package](https://github.com/magento/ece-tools) - A set of scripts and tools designed to manage and deploy Cloud projects
- [Magento Cloud Components](https://github.com/magento/magento-cloud-components) package - Extended Magento Commerce core functionality for sites deployed on the Cloud platform
- [Magento Cloud Docker](https://github.com/magento/magento-cloud-docker) package - Functionality and Docker images to deploy Magento Commerce to a local Cloud environment
- [Magento Cloud Patches](https://github.com/magento/magento-cloud-patches) package - A set of patches which improve the integration of all Magento versions with Cloud environments

### Useful Resources
- [Release Notes](https://github.com/magento/magento-cloud-components/releases)
- [Magento Cloud Guide DevDocs](https://devdocs.magento.com/guides/v2.3/cloud/bk-cloud.html)
- [Cloud Knowledge Base and Support](https://support.magento.com)
- [Cloud Slack Channel](https://magentocommeng.slack.com) (join #cloud and #cloud-docker)

### License
Each Magento source file included in this distribution is licensed under OSL 3.0 or the Magento Customer Agreement.

[Open Software License (OSL 3.0)](https://opensource.org/licenses/osl-3.0.php). Please see [LICENSE_OSL.txt](LICENSE_OSL.txt) for the full text of the OSL 3.0 license or contact [engcom@adobe.com](mailto:engcom@adobe.com) for a copy.

Subject to Licensee's payment of fees and compliance with the terms and conditions of the Customer Agreement, the Customer Agreement supersedes the OSL 3.0 license for each source file. Please visit https://magento.com/legal/terms for the full text of the
Customer Agreement.

## Recent Versions

| Version | Released |
|---|---|
| 1.1.4 | 2026-03-06 |
| 1.1.3 | 2025-08-07 |
| 1.1.2 | 2025-06-03 |
| 1.1.1 | 2025-02-06 |
| 1.1.0 | 2024-10-07 |
| 1.0.14 | 2024-04-08 |
| 1.0.13 | 2023-03-13 |
| 1.0.12 | 2022-09-14 |
| 1.0.11 | 2022-08-05 |
| 1.0.10 | 2022-03-15 |

Showing 10 of 20 versions. Full release history on https://packagento.com/magento/magento-cloud-components.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| colinmollenhour/cache-backend-redis | ^1.14.2 |
| colinmollenhour/credis | ^1.6.0 \|\| ^1.13 |
| ext-json | * |
| php | ^8.0 |

### Require (dev)

| Package | Constraint |
|---|---|
| codeception/codeception | ^5.1 |
| codeception/module-asserts | ^3.0 |
| codeception/module-db | ^3.0 |
| codeception/module-phpbrowser | ^3.0 |
| codeception/module-rest | ^3.0 |
| consolidation/robo | ^3.0 \|\| ^4.0 \|\| ^5.0 |
| phpmd/phpmd | @stable |
| phpstan/phpstan | ~1.2.0 \|\| ^2.0 |
| phpunit/phpunit | ^10.0 \|\| ^12.0 |
| squizlabs/php_codesniffer | ^3.7 |

### Suggest

| Package | Constraint |
|---|---|
| magento/framework | * |
| magento/module-store | * |
| magento/module-url-rewrite | * |

## Quality

Latest release (1.1.4) fails the Packagento QA pipeline. Verdicts below are per-cell (Magento line × PHP version) for the matrixed tools, and run-once for the static / security tiers.


### Compatibility

Each Magento line is installed on its supported PHP versions, then the module is built (DI compile + static-content deploy). Cells show passed / failed / untested; staircase gaps render as `–`.

| 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 | – | – | not tested | Pass |


### Code Quality

Advisory checks against the module's source. Never affect the Compatibility verdict — 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.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Warning | 37 | 37 warnings (ruleset: Magento2) — 1 auto-fixable with phpcbf |
| PHPMD | Warning | 4 | 4 rule violations (UndefinedVariable:2, EmptyCatchBlock:1, MissingImport:1) |
| Cpd | Pass | 0 |  |
| Composer validate | Info | 2 | valid; 2 advisory notes (composer validate --strict) |

#### PHPStan

Type-checks the module against a real Magento install. Re-runs per Magento + PHP version because resolvable symbols differ between releases.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | 7 | 7 | – | – |
| 2.4.8 | – | 7 | 7 | – |
| 2.4.9 | – | – | 7 | 7 |


### Tests

Unit and integration suites run per Magento + PHP cell. Test failures speak to the module's behaviour, not its compatibility with a line, so they're reported here separately.

#### Unit Tests

| 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 | not tested |

#### Integration Tests

| 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

Dependency-advisory audit (composer audit) plus a source malware scan. A malware detection fails the version outright.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| Composer audit | Pass | 0 |  |
| Malware scan | Pass | 0 |  |

## Licence and pricing

Free. A licence is still minted on checkout and bound to your project for Composer access — no payment step.

Refundable within 14 days of first purchase via https://packagento.com/account/refunds/.

## Install via Claude Code or any MCP client

The Packagento MCP server can run the licence + project + Composer steps above in one tool call:

```
purchase_and_install_packages(
  composer_names=["magento/magento-cloud-components"],
  project_id="proj_xxx"
)
```

This handles cart, checkout, licence minting, project activation, and writes auth.json credentials. Connect a client with `claude mcp add packagento https://mcp.packagento.com`. Full setup at https://packagento.com/docs/mcp-setup.

## Vendor

magento is a Magento 2 vendor on Packagento. See https://packagento.com/magento.md for their full catalogue.

