PHPackages                             pear/validate - 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. pear/validate

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

pear/validate
=============

Validate numbers, email, strings, dates, URIs and more

v0.8.7(3y ago)3257.3k↓10.4%63BSD-3-ClausePHPPHP &gt;=7.3.0

Since Feb 20Pushed 3y ago20 watchersCompare

[ Source](https://github.com/pear/Validate)[ Packagist](https://packagist.org/packages/pear/validate)[ Docs](http://pear.php.net/package/Validate)[ RSS](/packages/pear-validate/feed)WikiDiscussions master Synced 1mo ago

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

```
If you like to add Validate subpackages for a country or
some specific (like Finance) needs, please send a mail
to the pear-dev Mailing list to discuss it.

There is no need to create a proposal. There is no vote
or other community requests to add a locale to validate.

We do not have many requirements, but the following must
be fullfilled:

- Validate API compliant
- No conflict with existing sub packages
- If possible more than one maintainer (asking other
  validate_xx maintainers help)
- PEAR CS

Only the current active leads of Validate can agree or
not to publish a subpackage (actually pajoye, dufuz).

If you need an starting point then take a look at Example_Locale.php in
the docs dir (http://cvs.php.net/pear/Validate/docs/)
You can take that file to have something to start from and also to have
three functions to start implementing before doing your first release.

To make things even easier then you just go in there and replace [Your Name]
with your real name  with your email (but still keeping
the  around the email) and [LocaleName] should be replaced with your locale
name, like say HU or IS or such.

Now you just have to implement those functions and write further info for each
function where relevant (some countries have more requirements than others
and the end developer has to know those things, urls to those infos are also fine)
and if you have any extra functions in mind then just go and implement
those also! ;)
```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community33

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor3

3 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

Every ~1475 days

Total

3

Last Release

1154d ago

PHP version history (2 changes)v0.8.6PHP 7.3.0

v0.8.7PHP &gt;=7.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1323714f58f9144af310e5e4217e61b96ad7c42bc5c93a1f2d97deca95f6f4f8?d=identicon)[ashnazg](/maintainers/ashnazg)

![](https://www.gravatar.com/avatar/a1a2e6fe03f91204de2117430a748a12db2957eb113d4a50fc86d68d3c851e11?d=identicon)[cweiske](/maintainers/cweiske)

---

Top Contributors

[![helgi](https://avatars.githubusercontent.com/u/70530?v=4)](https://github.com/helgi "helgi (158 commits)")[![CloCkWeRX](https://avatars.githubusercontent.com/u/365751?v=4)](https://github.com/CloCkWeRX "CloCkWeRX (102 commits)")[![pierrejoye](https://avatars.githubusercontent.com/u/282408?v=4)](https://github.com/pierrejoye "pierrejoye (92 commits)")[![kenguest](https://avatars.githubusercontent.com/u/234118?v=4)](https://github.com/kenguest "kenguest (90 commits)")[![amir](https://avatars.githubusercontent.com/u/4293?v=4)](https://github.com/amir "amir (42 commits)")[![neufeind](https://avatars.githubusercontent.com/u/910025?v=4)](https://github.com/neufeind "neufeind (34 commits)")[![Moosh-be](https://avatars.githubusercontent.com/u/388085?v=4)](https://github.com/Moosh-be "Moosh-be (28 commits)")[![bjori](https://avatars.githubusercontent.com/u/72407?v=4)](https://github.com/bjori "bjori (26 commits)")[![cweiske](https://avatars.githubusercontent.com/u/59036?v=4)](https://github.com/cweiske "cweiske (24 commits)")[![tvvcox](https://avatars.githubusercontent.com/u/743820?v=4)](https://github.com/tvvcox "tvvcox (23 commits)")[![gauthierm](https://avatars.githubusercontent.com/u/120511?v=4)](https://github.com/gauthierm "gauthierm (11 commits)")[![arraypad](https://avatars.githubusercontent.com/u/451166?v=4)](https://github.com/arraypad "arraypad (7 commits)")[![janisto](https://avatars.githubusercontent.com/u/387868?v=4)](https://github.com/janisto "janisto (6 commits)")[![m6w6](https://avatars.githubusercontent.com/u/1265282?v=4)](https://github.com/m6w6 "m6w6 (6 commits)")[![golgote](https://avatars.githubusercontent.com/u/12360?v=4)](https://github.com/golgote "golgote (5 commits)")[![hemmat](https://avatars.githubusercontent.com/u/277982?v=4)](https://github.com/hemmat "hemmat (4 commits)")[![demiankatz](https://avatars.githubusercontent.com/u/309069?v=4)](https://github.com/demiankatz "demiankatz (3 commits)")[![anantn](https://avatars.githubusercontent.com/u/37190?v=4)](https://github.com/anantn "anantn (3 commits)")[![ifeghali](https://avatars.githubusercontent.com/u/70428?v=4)](https://github.com/ifeghali "ifeghali (3 commits)")[![jacques](https://avatars.githubusercontent.com/u/2543?v=4)](https://github.com/jacques "jacques (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pear-validate/health.svg)

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

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

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