# magento/ece-tools

> Provides tools to build and deploy Magento 2 Enterprise Edition

`composer require magento/ece-tools`

Canonical URL: https://packagento.com/magento/ece-tools

## At a glance

- **Vendor**: magento (https://packagento.com/magento.md)
- **Latest version**: 2002.2.11 — released 2026-05-06
- **Pricing**: Free
- **Package type**: Magento 2 component
- **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/ece-tools 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/ece-tools:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

Provides tools to build and deploy Magento 2 Enterprise Edition

## README

[![Build Status](https://travis-ci.com/magento/ece-tools.svg?token=NW7M5gDP5YaRMZyCvYpY&branch=develop)](https://travis-ci.com/magento/ece-tools)

### Welcome
ECE-Tools is a set of scripts and tools designed to manage and deploy Cloud projects. The Cloud tools package is compatible with Magento version 2.1.4 and later to provide a rich set of features you can use to manage your Magento Commerce project.

### Contributing to ECE-Tools Code Base
You can submit issues and pull requests to extend functionality or fix potential bugs. Improvements to ECE-Tools can include any development experience improvements, optimizations for deployment process, etc. If you find a bug or have a new 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/ece-tools/releases)
- [Commerce on Cloud Guide](https://experienceleague.adobe.com/en/docs/commerce-on-cloud/user-guide/overview)
- [Cloud Knowledge Base and Support](https://experienceleague.adobe.com/home?support-tab=home#support)
- [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 license.

Please see [LICENSE.txt](https://github.com/magento/ece-tools/blob/develop/LICENSE.txt) for the full text of the [Open Software License v. 3.0 (OSL-3.0)](http://opensource.org/licenses/osl-3.0.php).

## Recent Versions

| Version | Released |
|---|---|
| 2002.2.11 | 2026-05-06 |
| 2002.2.10 | 2026-03-06 |
| 2002.2.9 | 2025-11-13 |
| 2002.2.8 | 2025-10-08 |
| 2002.2.7 | 2025-08-07 |
| 2002.2.6 | 2025-06-03 |
| 2002.2.5 | 2025-05-27 |
| 2002.2.4 | 2025-04-24 |
| 2002.2.3 | 2025-04-09 |
| 2002.2.2 | 2025-04-07 |

Showing 10 of 64 versions. Full release history on https://packagento.com/magento/ece-tools.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| colinmollenhour/credis | ^1.6.0 \|\| ^1.13 |
| composer/composer | ^1.9 \|\| ^2.8 \|\| !=2.2.16 |
| composer/semver | @stable |
| ext-PDO | * |
| ext-json | * |
| ext-sockets | * |
| graylog2/gelf-php | ^2.0.1 |
| guzzlehttp/guzzle | ^7.3 \|\| ^7.5 |
| illuminate/config | ^10.0 \|\| ^11.0 \|\| ^12.16 |
| magento/magento-cloud-components | ^1.0.8 |
| magento/magento-cloud-docker | ^1.4.0 |
| magento/magento-cloud-patches | ^1.0.20 |
| magento/quality-patches | ^1.1.0 |
| monolog/monolog | ^2.3 \|\| ^2.7 \|\| ^3.6 |
| nesbot/carbon | ^1.0 \|\| ^2.0 \|\| ^3.8 |
| php | ^8.0 |
| psr/container | ^1.0 \|\| ^2.0 |
| psr/log | ^1.0 \|\| ^2.0 \|\| ^3.0 |
| symfony/config | ^4.4 \|\| ^5.1 \|\| ^5.4 \|\| ^6.4 \|\| ^7.2 |
| symfony/console | ^4.4 \|\| ^5.1 \|\| ^5.4 \|\| ^6.4 \|\| ^7.2 |
| symfony/dependency-injection | ^4.4 \|\| ^5.1 \|\| ^5.4 \|\| ^6.4 \|\| ^7.2 |
| symfony/process | ^4.4 \|\| ^5.1 \|\| ^5.4 \|\| ^6.4 \|\| ^7.2 |
| symfony/serializer | ^4.4 \|\| ^5.4 \|\| ^6.4 \|\| ^7.2 |
| symfony/yaml | ^4.4 \|\| ^5.1 \|\| ^5.4 \|\| ^6.4 \|\| ^7.2 |

### 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 |
| funkjedi/composer-include-files | ^1.0 |
| php-mock/php-mock-phpunit | ^2.0 |
| phpmd/phpmd | @stable |
| phpstan/phpstan | 1.2.0 \|\| ^2.0 |
| phpunit/php-code-coverage | ^10.0 \|\| ^12.0 |
| phpunit/phpunit | ^10.0 \|\| ^12.0 |
| squizlabs/php_codesniffer | ^3.0 |

### Conflict

| Package | Constraint |
|---|---|
| nesbot/carbon | >=1.38 <2.0 |
| symfony/console | 4.4.27 \|\| 4.4.28 |

### Replace

| Package | Constraint |
|---|---|
| magento/ece-patches | * |
| magento/magento-cloud-configuration | * |

## Quality

Latest release (2002.2.11) 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 | – | – | 1 | 1 |


### 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 | Fail | 340 | 34 errors, 306 warnings (ruleset: Magento2) — 74 auto-fixable with phpcbf |
| PHPMD | Warning | 188 | 188 rule violations (MissingImport:63, IfStatementAssignment:29, UndefinedVariable:23, ErrorControlOperator:22, UnusedFormalParameter:11) |
| Cpd | Warning | 37 | 37 duplicated chunks spanning 1502 total lines (min-lines=5, min-tokens=70) |
| Composer validate | Info | 3 | valid; 3 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 | 27 | 27 | – | – |
| 2.4.8 | – | 28 | 28 | – |
| 2.4.9 | – | – | 28 | 28 |


### 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 | N/A | N/A | – | – |
| 2.4.8 | – | N/A | N/A | – |
| 2.4.9 | – | – | N/A | N/A |

#### Integration Tests

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


### 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/ece-tools"],
  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.

