dhlparcel / magento2-plugin
dhlparcel/magento2-plugin
DHL Parcel plugin for Magento 2
DHL eCommerce for Magento 2
DHL offers a convenient plug-in for Magento 2 online stores. This plug-in allows you to add multiple online delivery options and to print shipping labels directly in your online store, which makes shipping packages significantly easier and a lot more fun. Please note that this plug-in is only available for online stores that ship orders from the Benelux region.
Install / Update
Update instructions
-
If you've installed a previous version with zip extraction, please remove the files found in
app/code/DHLParcel/Shippingand proceed with the installation instructions (can be either composer or zip extraction). -
If you're installed a previous version with composer with the recommended version range, just run the following commands to complete the update
composer update dhlparcel/magento2-plugin:~1.0.0
php bin/magento setup:upgrade
php bin/magento setup:di:compile (only for production environments)
Installation with composer
-
Add the plugin to your composer with the command (recommended version range)
composer require dhlparcel/magento2-plugin:~1.0.0 -
Enable the DHL module by executing the following from the Magento root:
php bin/magento module:enable DHLParcel_Shipping -
Upgrade the database
php bin/magento setup:upgrade -
When running in production, complete the installation by recompiling
php bin/magento setup:di:compile
Installation with zip extraction
-
Go to the Magento 2 directory
-
Extract the contents of the
magento2.zipfile in a new directory:app/code/DHLParcel/Shipping
(If you're upgrading, remove the old files first) -
De plugin uses de Guzzle package to communicate with the API. Add Guzzle to the Magento root
composer.json.
composer require guzzlehttp/guzzle -
De plugin uses fpdi-fpdf for merging pdf's. Add fpdi-fpdf to the Magento root
composer.json.
composer require setasign/fpdi-fpdf -
Enable the DHL module by executing the following from the Magento root:
php bin/magento module:enable DHLParcel_Shipping -
Upgrade the database
php bin/magento setup:upgrade -
When running in production, complete the installation by recompiling
php bin/magento setup:di:compile
When updating with zip with a version before 1.0.10 to current
- De plugin uses fpdi-fpdf for merging pdf's. Add fpdi-fpdf to the Magento root
composer.json.
composer require setasign/fpdi-fpdf
No changelog yet
The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| 1.0.53 | stable | Fail | Magento 2.4.7 Details | 2026-03-13 08:54:30 |
| 1.0.52 | stable | Not tested | Not yet tested Details | 2026-01-21 14:54:34 |
| 1.0.51 | stable | Not tested | Not yet tested Details | 2025-06-24 08:23:49 |
| 1.0.50 | stable | Not tested | Not yet tested Details | 2025-02-18 16:41:00 |
| 1.0.49 | stable | Not tested | Not yet tested Details | 2024-07-19 13:16:04 |
| 1.0.47 | stable | Not tested | Not yet tested Details | 2024-05-28 09:30:38 |
| 1.0.46 | stable | Not tested | Not yet tested Details | 2024-02-26 11:48:06 |
| 1.0.45 | stable | Not tested | Not yet tested Details | 2024-02-19 11:34:43 |
| 1.0.44 | stable | Not tested | Not yet tested Details | 2024-01-12 14:43:20 |
| 1.0.43 | stable | Not tested | Not yet tested Details | 2023-08-29 14:12:42 |
| 1.0.42 | stable | Not tested | Not yet tested Details | 2023-07-17 13:01:41 |
| 1.0.41 | stable | Not tested | Not yet tested Details | 2023-05-16 09:45:27 |
| 1.0.40 | stable | Not tested | Not yet tested Details | 2023-01-12 06:25:15 |
| 1.0.39 | stable | Not tested | Not yet tested Details | 2022-09-16 08:59:29 |
| 1.0.38 | stable | Not tested | Not yet tested Details | 2022-08-18 07:55:37 |
| 1.0.37 | stable | Not tested | Not yet tested Details | 2022-06-01 10:41:44 |
| 1.0.36 | stable | Not tested | Not yet tested Details | 2022-02-25 10:23:43 |
| 1.0.35 | stable | Not tested | Not yet tested Details | 2022-02-07 16:31:20 |
| 1.0.34 | stable | Not tested | Not yet tested Details | 2022-01-03 09:24:32 |
| 1.0.33 | stable | Not tested | Not yet tested Details | 2021-12-10 08:20:39 |
| 1.0.32 | stable | Not tested | Not yet tested Details | 2021-12-01 07:39:47 |
| 1.0.31 | stable | Not tested | Not yet tested Details | 2021-11-18 22:06:33 |
| 1.0.30 | stable | Not tested | Not yet tested Details | 2021-11-12 12:17:54 |
| 1.0.27 | stable | Not tested | Not yet tested Details | 2021-10-05 12:39:50 |
| 1.0.26 | stable | Not tested | Not yet tested Details | 2021-09-21 11:14:24 |
| 1.0.25 | stable | Not tested | Not yet tested Details | 2021-09-02 12:28:10 |
| 1.0.24 | stable | Not tested | Not yet tested Details | 2021-08-20 06:09:56 |
| 1.0.23 | stable | Not tested | Not yet tested Details | 2021-07-06 08:12:05 |
| 1.0.22 | stable | Not tested | Not yet tested Details | 2021-04-14 18:18:51 |
| 1.0.21 | stable | Not tested | Not yet tested Details | 2021-03-04 17:20:21 |
| 1.0.20 | stable | Not tested | Not yet tested Details | 2021-02-08 13:21:12 |
| 1.0.19 | stable | Not tested | Not yet tested Details | 2021-02-02 10:49:27 |
| 1.0.18 | stable | Not tested | Not yet tested Details | 2021-01-13 10:38:20 |
| 1.0.17 | stable | Not tested | Not yet tested Details | 2020-10-12 12:16:09 |
| 1.0.16 | stable | Not tested | Not yet tested Details | 2020-10-07 08:40:57 |
| 1.0.15 | stable | Not tested | Not yet tested Details | 2020-09-01 09:54:27 |
| 1.0.14 | stable | Not tested | Not yet tested Details | 2020-07-30 10:21:59 |
| 1.0.13 | stable | Not tested | Not yet tested Details | 2020-05-25 11:33:20 |
| 1.0.12 | stable | Not tested | Not yet tested Details | 2020-04-09 12:58:02 |
| 1.0.11 | stable | Not tested | Not yet tested Details | 2020-03-31 09:31:36 |
| 1.0.10 | stable | Not tested | Not yet tested Details | 2020-02-25 10:33:07 |
| 1.0.9 | stable | Not tested | Not yet tested Details | 2020-01-21 12:21:10 |
| 1.0.8 | stable | Not tested | Not yet tested Details | 2019-11-15 13:49:41 |
| 1.0.7 | stable | Not tested | Not yet tested Details | 2019-09-30 13:22:23 |
| 1.0.6 | stable | Not tested | Not yet tested Details | 2019-08-01 15:20:44 |
| 1.0.5 | stable | Not tested | Not yet tested Details | 2019-07-30 11:55:30 |
| 1.0.4 | stable | Not tested | Not yet tested Details | 2019-07-02 11:24:11 |
| 1.0.3 | stable | Not tested | Not yet tested Details | 2019-06-21 16:20:49 |
| 1.0.2 | stable | Not tested | Not yet tested Details | 2019-06-18 11:49:53 |
Requires 3
| Package | Constraint |
|---|---|
| ext-json | * |
| guzzlehttp/guzzle | ^6.0 || ^7.0 |
| setasign/fpdi-fpdf | ^2.0 |
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.
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.
| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Fail | 787 | 54 errors, 733 warnings (ruleset: Magento2) — 67 auto-fixable with phpcbf |
| PHPMD | Warning | 89 | 89 rule violations (CyclomaticComplexity:21, NPathComplexity:19, MissingImport:9, ExcessiveClassComplexity:8, UnusedFormalParameter:8) |
| Cpd | Warning | 1 | 1 duplicated chunk spanning 21 total lines (min-lines=5, min-tokens=70) |
| Composer validate | Warning | 1 | valid with 1 warning (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.
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
| 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 | 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.
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.