PHPackages                             yftzeng/wowfilter - 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. yftzeng/wowfilter

ActiveLibrary

yftzeng/wowfilter
=================

Eazy Secure Filter

0454PHP

Since Mar 8Pushed 12y ago1 watchersCompare

[ Source](https://github.com/yftzeng/phpWowFilter)[ Packagist](https://packagist.org/packages/yftzeng/wowfilter)[ RSS](/packages/yftzeng-wowfilter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

phpWowFilter
============

[](#phpwowfilter)

Eazy Secure Filter

Requirement
-----------

[](#requirement)

PHP 5.2+

Usage
-----

[](#usage)

### Standalone WowLog library

[](#standalone-wowlog-library)

```
include 'src/Wow/Security/WowFilter.php';

use Wow\Security\WowFilter;

$t = WowFilter::v('123abc!@#', 'string');
$t = WowFilter::v('123abc!@#', 'string', array('min'=>9, 'max'=>9));

```

### Work with Composer

[](#work-with-composer)

#### Edit `composer.json`

[](#edit-composerjson)

```
{
    "require": {
        "yftzeng/wowfilter": "dev-master"
    }
}

```

#### Update composer

[](#update-composer)

```
$ php composer.phar update

```

#### Sample code

[](#sample-code)

```
include 'vendor/autoload.php';

use Wow\Security\WowFilter;

$t = WowFilter::v('123abc!@#', 'string');
$t = WowFilter::v('123abc!@#', 'string', array('min'=>9, 'max'=>9));

```

Example
-------

[](#example)

```
$t = WowFilter::v('123abc!@#', 'string');
$t = WowFilter::v('123abc!@#', 'string', array('min'=>9, 'max'=>9));
$t = WowFilter::v('許蓋功', 'utf8-string', array('min'=>4, 'max'=>4));
$t = WowFilter::v('1', 'boolean');
$t = WowFilter::v('123', 'int', array('min'=>123, 'max'=>123));
$t = WowFilter::v('123', 'float', array('min'=>123, 'max'=>123));
$t = WowFilter::v('http://www.google.com', 'url', array('min'=>5, 'max'=>255));
$t = WowFilter::v('test@abc.com', 'mail', array('min'=>1, 'max'=>255));
$t = WowFilter::v('2013-12-12', 'db-date');
$t = WowFilter::v('2013-12-12 11:11:11', 'db-time');

```

License
-------

[](#license)

the MIT License

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/245302?v=4)[Yi-Feng Tzeng (ant)](/maintainers/yftzeng)[@yftzeng](https://github.com/yftzeng)

---

Top Contributors

[![yftzeng](https://avatars.githubusercontent.com/u/245302?v=4)](https://github.com/yftzeng "yftzeng (6 commits)")

### Embed Badge

![Health badge](/badges/yftzeng-wowfilter/health.svg)

```
[![Health](https://phpackages.com/badges/yftzeng-wowfilter/health.svg)](https://phpackages.com/packages/yftzeng-wowfilter)
```

PHPackages © 2026

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