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)25873[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 today

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 47% of packages

Maintenance23

Infrequent updates — may be unmaintained

Popularity21

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

678d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11091926?v=4)[Michele Fantetti](/maintainers/WaPoNe)[@WaPoNe](https://github.com/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

[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.4M1](/packages/fastly-magento2)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1860.2k](/packages/myparcelnl-magento)[mage-os/module-automatic-translation

Automatic AI content translation for Mage-OS.

3017.9k](/packages/mage-os-module-automatic-translation)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)

PHPackages © 2026

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