PHPackages                             seagm-swoft/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. seagm-swoft/validator

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

seagm-swoft/validator
=====================

Validator component for swoft

v2.0.11(5mo ago)061Apache-2.0PHP &gt;7.1

Since May 6Pushed 5mo agoCompare

[ Source](https://github.com/seagm/swoft-validator)[ Packagist](https://packagist.org/packages/seagm-swoft/validator)[ Docs](https://github.com/swoft-cloud/swoft-validator)[ RSS](/packages/seagm-swoft-validator/feed)WikiDiscussions seagm Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (1)

Swoft Validator
===============

[](#swoft-validator)

[![Latest Stable Version](https://camo.githubusercontent.com/e487d614bb4049a0e877340c6a7c969eabad9207cc5f05b8977dad10c67a0911/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73776f66742f76616c696461746f722e737667)](https://packagist.org/packages/swoft/validator)[![Php Version](https://camo.githubusercontent.com/c197ef1e57a32c886b2a54d02ead7dbc035f18b3f39a642703b9372eef7819f9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2533453d372e312d627269676874677265656e2e7376673f6d61784167653d32353932303030)](https://secure.php.net/)[![Swoft Doc](https://camo.githubusercontent.com/ea1431167b522b88916c717b0bfe6348328a8662a684bb128f0b0bd6d22a20d5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63732d70617373696e672d677265656e2e7376673f6d61784167653d32353932303030)](https://www.swoft.org/docs)[![Swoft License](https://camo.githubusercontent.com/1c419f89412ea6c234c184ad6d85decb127c18584858d3707ae7d8e2131eccc4/68747470733a2f2f696d672e736869656c64732e696f2f686578706d2f6c2f706c75672e7376673f6d61784167653d32353932303030)](https://github.com/swoft-cloud/swoft/blob/master/LICENSE)

Swoft Validator Component

[中文说明](README.zh-CN.md)
-----------------------

[](#中文说明)

中文说明请查看 [README.zh-CN.md](README.zh-CN.md)

Install
-------

[](#install)

- composer command

```
composer require swoft/validator
```

Resources
---------

[](#resources)

- [Documentation](https://swoft.org/docs)
- [Contributing](https://github.com/swoft-cloud/swoft/blob/master/CONTRIBUTING.md)
- [Report Issues](https://github.com/swoft-cloud/swoft/issues) and [Send Pull Requests](https://github.com/swoft-cloud/swoft-component/pulls) in the [Main Swoft Repository](https://github.com/swoft-cloud/swoft)

LICENSE
-------

[](#license)

The Component is open-sourced software licensed under the [Apache license](LICENSE).

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance70

Regular maintenance activity

Popularity4

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Unknown

Total

1

Last Release

178d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/337819315ffe476afba0d847d06c2c7a8aea558b3b0aeeac11dcbde1a438ffda?d=identicon)[Oriental Spider](/maintainers/Oriental%20Spider)

---

Top Contributors

[![inhere](https://avatars.githubusercontent.com/u/5302062?v=4)](https://github.com/inhere "inhere (40 commits)")[![stelin](https://avatars.githubusercontent.com/u/1677543?v=4)](https://github.com/stelin "stelin (38 commits)")[![dyf991645](https://avatars.githubusercontent.com/u/37744291?v=4)](https://github.com/dyf991645 "dyf991645 (1 commits)")[![jingyifeng](https://avatars.githubusercontent.com/u/29473486?v=4)](https://github.com/jingyifeng "jingyifeng (1 commits)")[![wqd1688](https://avatars.githubusercontent.com/u/44762586?v=4)](https://github.com/wqd1688 "wqd1688 (1 commits)")[![wvfeng](https://avatars.githubusercontent.com/u/33809027?v=4)](https://github.com/wvfeng "wvfeng (1 commits)")

---

Tags

phpswooleswoft

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/seagm-swoft-validator/health.svg)

```
[![Health](https://phpackages.com/badges/seagm-swoft-validator/health.svg)](https://phpackages.com/packages/seagm-swoft-validator)
```

###  Alternatives

[swoft/redis

swoft redis component

12168.4k16](/packages/swoft-redis)

PHPackages © 2026

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