PHPackages                             runner/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. runner/validation

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

runner/validation
=================

v1.0.16(8y ago)310.0k3MITPHPPHP &gt;=5.6

Since Feb 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/RunnerLee/validation)[ Packagist](https://packagist.org/packages/runner/validation)[ RSS](/packages/runner-validation/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (4)Versions (22)Used By (0)

Validation For FastD 3.0
========================

[](#validation-for-fastd-30)

使用
--

[](#使用)

创建请求验证器

```
use Runner\Validation\RequestValidatorInterface;

class OrderStoreRequestValidator implements RequestValidatorInterface
{
    public function rules()
    {
        return [
            'price' => 'required|numeric'
        ];
    }
}

```

配置绑定路由

```
#file: config/config.php

return [
    'validation' => [
        'orders.store' => OrderStoreRequestValidator::class
    ],
];

```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 97.1% 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 ~24 days

Total

18

Last Release

2987d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/15872de2a16678788e3008d3874fbffe0b136088bca5ae96974189a357f99222?d=identicon)[RunnerLee](/maintainers/RunnerLee)

---

Top Contributors

[![RunnerLee](https://avatars.githubusercontent.com/u/7436388?v=4)](https://github.com/RunnerLee "RunnerLee (34 commits)")[![zqhong](https://avatars.githubusercontent.com/u/8402647?v=4)](https://github.com/zqhong "zqhong (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/runner-validation/health.svg)

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

###  Alternatives

[chaoswey/taiwan-id-validator

台灣身分證、統一編號驗證

319.9k](/packages/chaoswey-taiwan-id-validator)

PHPackages © 2026

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