# inxmail/magento2-module

> Inxmail Magento 2 Module

`composer require inxmail/magento2-module`

Canonical URL: https://packagento.com/inxmail/magento2-module

## At a glance

- **Vendor**: inxmail (https://packagento.com/inxmail.md)
- **Latest version**: 1.3.3 — released 2026-05-13
- **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/inxmail/magento2-module 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 inxmail/magento2-module:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

Inxmail Magento 2 Module

## README

This repository contains the Inxmail extension code for Magento 2

### Description

This extension requires an Inxmail Professional account and a corresponding Inxmail Professional REST-API user.

Please contact your Inxmail account manager or get in [touch with us](https://www.inxmail.de/kontakt) to get all information regarding this extension.


### Contribution

You are welcome to contribute to the ongoing development of this extension! Your possibilities:

* **Security issues**: Please do **NOT** open a github issue. Get in touch with us to report (see above) such issues.

* Report a bug: create an [issue](https://github.com/Inxmail/inx_magento2/issues/new) including description, reproduction steps, Magento and extension version numbers
* Fix a bug: please fork and use our contribution branch to submit your Pull Request
* Request a feature: create an [issue](https://github.com/Inxmail/inx_magento2/issues/new) describing your desired feature.

Thank you!


### Version History
**V1.3.3**
* Updated phpunit
* Tested on Magento2 CE v2.4.9 with PHP 8.4.21

**V1.3.2**
* Corrected incompatibilities with php 8.4
* Tested on Magento2 CE v2.4.8-p3 with PHP 8.3 and 8.4

**V1.3.1**
* Tested compatibility with Magento2 CE v2.4.7-p3 and php 8.3
* Tested compatibility with Magento2 CE v2.4.8

**V1.3.0**
* Replaced ZEND_HTTP Framework for Compatibility with Magento2 CE v2.4.6

**V1.2.0**
* Compatibility check and updates for Magento2 CE v2.4.4
* Compatibility check for PHP Version 8.1

**V1.1.4**
* compatibility check and updates for Magento2 CE v2.4.3-p1

**V1.1.0**
* added support for "last order date"

**V1.0.3**
* allow PHP > 7.1
* Workaround for Invalid header line detected: #49
* add fallback for different M2 versions (serializer)

**V1.0.2**
* Compatibility for Magento 2.2.6
* Compatibility for PHP 7.1

**V1.0.0**

This is the base-version of the module with the following feature-set
* connect your Magento 2 installation with one Inxmail Professional list
* use the full opt-in features of Inxmail Professional
* synchronize bi-directional in real-time the opt-in and opt-out of the newsletter 
* synchronize customer data regularly to Inxmail Professinal
* reduce the editorial work of your newsletters by incorporating product information directly from your shop data 


### Licence Information
This module is licensed under OSL 3.0.
http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
Please see LICENSE.txt for the full text of the OSL 3.0 license.

## Recent Versions

| Version | Released |
|---|---|
| 1.3.3 | 2026-05-13 |
| 1.3.2 | 2025-12-01 |
| 1.3.1 | 2024-05-28 |
| 1.3.0 | 2023-10-09 |
| 1.2.0 | 2022-05-17 |
| 1.1.4 | 2021-11-26 |
| 1.1.3 | 2020-06-04 |
| 1.1.2 | 2020-02-27 |
| 1.1.1 | 2020-01-28 |
| 1.1.0 | 2019-06-03 |

Showing 10 of 17 versions. Full release history on https://packagento.com/inxmail/magento2-module.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| ext-json | * |
| magento/product-community-edition | ^2.4.4 |
| php | ^8.1 |

### Require (dev)

| Package | Constraint |
|---|---|
| phpunit/phpunit | ^9.5 \|\| ^12.0 |
| squizlabs/php_codesniffer | 3.* |

## Quality

Latest release (1.3.3) 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 | – | – | Pass | 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 | Fail | 330 | 1 error, 329 warnings (ruleset: Magento2) — 158 auto-fixable with phpcbf |
| PHPMD | Warning | 30 | 30 rule violations (MissingImport:8, UnusedFormalParameter:6, UnusedLocalVariable:4, CyclomaticComplexity:3, UndefinedVariable:2) |
| Cpd | Warning | 5 | 5 duplicated chunks spanning 144 total lines (min-lines=5, min-tokens=70) |
| Composer validate | Pass | 0 |  |

#### 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 | 55 | 55 | – | – |
| 2.4.8 | – | 56 | 56 | – |
| 2.4.9 | – | – | 52 | 52 |


### 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 | Error | Error | – | – |
| 2.4.8 | – | Error | Error | – |
| 2.4.9 | – | – | Error | Error |

#### 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=["inxmail/magento2-module"],
  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

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

