PHPackages                             devcccc/magento2-address-validation - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. devcccc/magento2-address-validation

ActiveMagento2-module[Validation &amp; Sanitization](/categories/validation)

devcccc/magento2-address-validation
===================================

Magento 2 address validation supporting Endereco as service!

2.0.15(3y ago)43.5k↓50%1[1 issues](https://github.com/devcccc/magento2-address-validation/issues)GPL-3.0+JavaScriptPHP ^7.4.0|^8.0.0|^8.1.0

Since Oct 1Pushed 3y agoCompare

[ Source](https://github.com/devcccc/magento2-address-validation)[ Packagist](https://packagist.org/packages/devcccc/magento2-address-validation)[ Docs](https://wwww.endereco.de)[ RSS](/packages/devcccc-magento2-address-validation/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (16)Used By (0)

magento2-address-validation
===========================

[](#magento2-address-validation)

For Magento: Extended address validation against webservices

About
=====

[](#about)

Address validation module for Magento 2.2, 2.3, 2.4 using Endereco as Webservice for validation. A separate Endereco Account () is required.

This supports the address validation on checkout for the shipping address and some autocomplete functions - the eMail validation is integrated as beta version as well.

Installation
============

[](#installation)

After installation:

```
php bin/magento module:enable CCCC_Addressvalidation
php bin/magento setup:upgrade

```

If your Magento installation is running into production mode you have also to deploy the static content files:

```
php bin/magento setup:static-content:deploy

```

For development systems we suggest a cleanup of the generated and pub/static/frontend-folders:

```
rm -Rf generated pub/static/frontend

```

Direct requests
===============

[](#direct-requests)

Important: to use the faster direct requests additional webserver configuration is required.

For nginx you have to add a new location-block within your nginx-Site-Configuration. For Apache you have to copy the DirectProxy.php-file and add a Rewrite in the .htaccess.

For further instructions see below.

Apache Webserver
----------------

[](#apache-webserver)

After installation/update copy the DirectProxy-File to the pub-directory:

```
cd {{YOUR MAGENTO MAIN DIRECTORY}}
cp vendor/endereco/magento2-address-validation/Controller/Proxy/DirectProxy.php pub/

```

Edit the .htaccess in the pub-folder. Add a rewrite for the DirectProxy.php. Its required that this rewrite is done before the index.php rewrite.

Add the following line to pub/.htaccess:

```
RewriteRule cccc_adressvalidation/direct DirectProxy.php [L]

```

To do this before the index.php-rewrite your pub/.htaccess might look like:

```
....
RewriteRule cccc_adressvalidation/direct DirectProxy.php [L]

############################################
## Never rewrite for existing files, directories and links
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
....

```

Now enable the direct requests in the settings of the extension within the Magento Admin-Backend.

Menu: Stores =&gt; Configuration. Select "CCCC Config" =&gt; Address validation with Endereco =&gt; "Use direct requests" =&gt; Yes

nginx Webserver
---------------

[](#nginx-webserver)

For nginx a new location-Block within your nginx-site-configuration is required. Add this location:

```
location /cccc_adressvalidation/direct {
    proxy_pass https://>/DirectProxy.php;
}

```

This location-Block should be placed directly in the server-block for the Magento-shop.

In the existing nginx-configuration we have to extend the script-whitelist of the "PHP entry point for main application". Normally it will look like:

```
location ~ /(index|get|static|errors/report|errors/404|errors/503|health_check)\.php$ {

```

You must add DirectProxy here:

```
location ~ /(DirectProxy|index|get|static|errors/report|errors/404|errors/503|health_check)\.php$ {

```

Now restart the nginx and then enable the direct requests in the settings of the extension within the Magento Admin-Backend.

Menu: Stores =&gt; Configuration. Select "CCCC Config" =&gt; Address validation with Endereco =&gt; "Use direct requests" =&gt; Yes

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 97.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~21 days

Recently: every ~53 days

Total

13

Last Release

1335d ago

Major Versions

1.3.24 → 2.0.102022-02-22

PHP version history (2 changes)1.3.22PHP ^7.1.0|^7.2.0|^7.3.0|^7.4.0

2.0.12PHP ^7.4.0|^8.0.0|^8.1.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1318447?v=4)[4c media Development](/maintainers/devcccc)[@devcccc](https://github.com/devcccc)

---

Top Contributors

[![4ctobias](https://avatars.githubusercontent.com/u/43742974?v=4)](https://github.com/4ctobias "4ctobias (135 commits)")[![4cpatrickgebhardt](https://avatars.githubusercontent.com/u/78352717?v=4)](https://github.com/4cpatrickgebhardt "4cpatrickgebhardt (2 commits)")[![devcccc](https://avatars.githubusercontent.com/u/1318447?v=4)](https://github.com/devcccc "devcccc (1 commits)")

---

Tags

addressmagento2phpvalidationmagento 2address validationendereco

### Embed Badge

![Health badge](/badges/devcccc-magento2-address-validation/health.svg)

```
[![Health](https://phpackages.com/badges/devcccc-magento2-address-validation/health.svg)](https://phpackages.com/packages/devcccc-magento2-address-validation)
```

###  Alternatives

[magepal/magento2-gmailsmtpapp

Magento 2 SMTP Extension - Configure Magento 2 to send all transactional email using Gmail, G Suite, Amazon SES, Office360, Mailgun, SendGrid, Mandrill or any other SMTP servers

3321.8M2](/packages/magepal-magento2-gmailsmtpapp)[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[tig/postnl-magento2

TIG Magento 2 PostNL extension

58544.2k4](/packages/tig-postnl-magento2)[magepal/magento2-customeraccountlinksmanager

Customer Account Links Manager for Magento2 allows you to quickly and easily remove unwanted links from customer account dashboard

4084.9k](/packages/magepal-magento2-customeraccountlinksmanager)[magepal/magento2-form-field-manager

Customer and Address Form Fields Manager for Magento2

293.8k](/packages/magepal-magento2-form-field-manager)[mage-os/module-admin-activity-log

The Admin Activity extension makes it easy to track all admin activity with comprehensive audit logging.

261.4k](/packages/mage-os-module-admin-activity-log)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
