deutschepost / module-autocomplete-m2

deutschepost/module-autocomplete-m2

Deutsche Post Direkt Autocomplete Integration for Magento2

magento2-module Compatibility: 2.4.8-2.4.9 Code Quality: Fail Tests: N/A Security: Pass OSL-3.0

Deutsche Post Direkt Datafactory Autocomplete for Magento 2

The module Datafactory Autocomplete provides automated completion of billing
and shipping addresses in Germany for the customer in the shop frontend.

Requirements

  • PHP >= 8.3

Compatibility

  • Magento >= 2.4.8

Installation Instructions

Install sources:

composer require deutschepost/module-autocomplete-m2

Enable module:

./bin/magento module:enable PostDirekt_Autocomplete
./bin/magento setup:upgrade

Flush cache and compile:

./bin/magento cache:flush
./bin/magento setup:di:compile

Uninstallation

To unregister the carrier module from the application, run the following command:

./bin/magento module:uninstall --remove-data PostDirekt_Autocomplete
composer update

This will automatically remove source files, clean up the database, update package dependencies.

Support

In case of questions or problems, please have a look at the
Support Portal (FAQ) first.

If the issue cannot be resolved, you can contact the support team via the
Support Portal or by sending an email
to [email protected].

License

OSL - Open Software Licence 3.0

Copyright

(c) 2023 Deutsche Post AG

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.

1.7.0

Magento 2.4.9 compatibility release

Added

  • Support for Magento 2.4.9
  • Support for PHP 8.5

1.6.2

Fixed

  • Configuration data not being removed on module uninstall.
  • Improved error diagnostics when token authentication fails.

Changed

  • Internal code quality improvements.

1.6.1

Changed

  • Removed redundant php-http/curl-client and nyholm/psr7 dependencies, HTTP client is provided by Magento's Guzzle integration.

1.6.0

Added

  • Compatibility for Magento 2.4.8.
  • Support for PHP 8.3 and 8.4.

Removed

  • PHP8.2 support

1.5.0

Added

  • Compatibility for Magento 2.4.7.

Removed

  • PHP7.x support
  • PHP8.1 support

1.4.3

Changed

  • Update autocomplete JS library to 1.3.0.

1.4.2

Fixed

  • Successful web service requests no longer fill up system.log, reported via #1

1.4.1

Fixed

  • Autocompletion in customer account Add New Address form

Removed

  • Support for Magento < 2.4.5

1.4.0

Added

  • Compatibility for Magento 2.4.5.

1.3.0

Added

  • Compatibility for Magento 2.4.4.

Changed

  • Update autocomplete JS library to 1.2.2.

1.2.1

Fixed

  • Prevent CSP violations when loading address suggestions.
  • Prevent street name input losing focus when loading address suggestions.

1.2.0

Added

  • Configurable house number hint to remind customer in storefront adding house number to street.

Changed

  • Js lib now supports house number hint.

1.1.1

Changed

  • Upgrade core module dependency.

1.1.0

Added

  • Compatibility for Magento 2.4.

Removed

  • Support for Magento 2.2.

1.0.0

  • Initial release
Versions
Version Stability QA Status Compatibility Released
1.7.0 stable Pass Magento 2.4.8-2.4.9 Details 2026-06-03 13:18:13
1.6.2 stable Fail Magento 2.4.8-2.4.9 Details 2026-03-17 15:37:43
1.6.1 stable Not tested Not yet tested Details 2025-12-03 15:41:57
1.6.0-rc1 RC Not tested Not yet tested Details 2025-07-02 11:19:21
1.6.0 stable Not tested Not yet tested Details 2025-06-10 14:15:55
1.5.0 stable Not tested Not yet tested Details 2024-05-27 09:54:42
1.4.3 stable Not tested Not yet tested Details 2024-02-06 14:39:50
1.4.2 stable Not tested Not yet tested Details 2023-09-14 10:53:30
1.4.1 stable Not tested Not yet tested Details 2023-03-27 11:21:56
1.4.0 stable Not tested Not yet tested Details 2022-08-22 11:12:37
1.3.0 stable Not tested Not yet tested Details 2022-04-26 08:52:39
1.2.1 stable Not tested Not yet tested Details 2021-11-29 15:44:50
1.2.0 stable Not tested Not yet tested Details 2021-09-16 12:14:17
1.1.1 stable Not tested Not yet tested Details 2021-02-26 11:09:41
1.1.0 stable Not tested Not yet tested Details 2020-10-14 14:08:05
1.0.0 stable Not tested Not yet tested Details 2020-04-09 13:26:36

Requires 10

Package Constraint
deutschepost/module-core ^1.5.0
deutschepost/sdk-api-autocomplete-authentication ^1.3.1
ext-intl *
magento/framework ^103.0.8
magento/module-config ^101.2.8
magento/module-csp ^100.4.7
magento/module-customer ^103.0.8
magento/module-store ^101.1.8
netresearch/config-fields-m2 ^1.4.0
php ~8.3.0||~8.4.0||~8.5.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.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 not tested not tested
2.4.8 Pass Pass
2.4.9 Pass Pass

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.

Static analysis results
Tool Status Findings Summary
PHPCS Warning 7 7 warnings (ruleset: Magento2)
PHPMD Warning 1 1 rule violation (UnusedFormalParameter:1)
Cpd Pass 0
Composer validate Info 1 valid; 1 advisory note (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. Cell → details modal.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A Error
2.4.8 Pass Pass
2.4.9 Pass Pass

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

Unit tests results by Magento and PHP version
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

Integration tests results by Magento and PHP version
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.

Security results
Tool Status Findings Summary
Composer audit Pass 0
Malware scan Pass 0
License
OSL-3.0
Authors

More from deutschepost

View vendor
Make it pay

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.