# dhl/module-carrier-paket 3.5.1

> Version 3.5.1 of dhl/module-carrier-paket, released 2026-06-29.

`composer require dhl/module-carrier-paket:3.5.1`

Canonical URL: https://packagento.com/dhl/module-carrier-paket/3.5.1

## At a glance

- **Released**: 2026-06-29
- **Magento**: ^103.0.8
- **PHP**: ~8.3.0||~8.4.0||~8.5.0
- **QA**: failing

## What it does

Carrier implementation for DHL Business Customer Shipping

## Dependencies

### Require

| Package | Constraint |
|---|---|
| dhl/module-shipping-core | ^2.5.0 |
| dhl/module-unified-tracking | ^2.3.0 |
| dhl/sdk-api-parcel-de | ^1.3.0 |
| dhl/sdk-api-parcel-management | ^3.4.0 |
| dhl/sdk-api-unified-location-finder | ^3.3.0 |
| ext-intl | * |
| ext-json | * |
| magento/framework | ^103.0.8 |
| magento/module-backend | ^102.0.8 |
| magento/module-bundle | ^101.0.8 |
| magento/module-catalog | ^104.0.8 |
| magento/module-catalog-inventory | ^100.4.8 |
| magento/module-checkout | ^100.4.8 |
| magento/module-config | ^101.2.8 |
| magento/module-configurable-product | ^100.4.8 |
| magento/module-directory | ^100.4.8 |
| magento/module-quote | ^101.2.8 |
| magento/module-sales | ^103.0.8 |
| magento/module-shipping | ^100.4.8 |
| magento/module-store | ^101.1.8 |
| monolog/monolog |  ^3.6.0 |
| netresearch/config-fields-m2 | ^1.3.0 |
| netresearch/module-shipping-core | ^4.0.3 |
| php | ~8.3.0\|\|~8.4.0\|\|~8.5.0 |
| psr/log | ^2.0.0 \|\| ^3.0.0 |

### Require (dev)

| Package | Constraint |
|---|---|
| fig/log-test |  ^1.0.0 |
| magento/module-customer | ^103.0.8 |
| magento/module-offline-payments | ^100.4.6 |
| phpunit/phpunit | ^10.5.0 |

## Quality

Version 3.5.1 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 | not tested | 1 | – | – |
| 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 | Warning | 42 | 42 warnings (ruleset: Magento2), 2 auto-fixable with phpcbf |
| PHPMD | Warning | 71 | 71 rule violations (UnusedFormalParameter:44, UndefinedVariable:10, MissingImport:7, NPathComplexity:2, TooManyPublicMethods:2) |
| Cpd | Warning | 8 | 8 duplicated chunks spanning 317 total lines (min-lines=5, min-tokens=70) |
| Composer validate | Info | 1 | valid; 1 advisory note (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 | – | 26 | 26 | – |
| 2.4.9 | – | – | 26 | 26 |


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


### 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 |  |

## Parent package

[dhl/module-carrier-paket](https://packagento.com/dhl/module-carrier-paket.md) — full catalogue, pricing, install steps, and vendor info.

