PHPackages                             php-standard-library/type - 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. php-standard-library/type

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

php-standard-library/type
=========================

Runtime type validation implementing Parse, Don't Validate - coerce and assert unstructured input into well-typed data

6.2.1(1mo ago)163.5k↑358.8%20MITPHPPHP ~8.4.0 || ~8.5.0

Since Mar 17Pushed 1mo agoCompare

[ Source](https://github.com/php-standard-library/type)[ Packagist](https://packagist.org/packages/php-standard-library/type)[ Docs](https://php-standard-library.dev)[ RSS](/packages/php-standard-library-type/feed)WikiDiscussions next Synced 3w ago

READMEChangelog (5)Dependencies (18)Versions (13)Used By (20)

PHP Standard Library - Type
===========================

[](#php-standard-library---type)

Runtime type validation implementing Parse, Don't Validate - coerce and assert unstructured input into well-typed data.

---

- [Documentation](https://php-standard-library.dev)
- [Contributing](https://github.com/php-standard-library/php-standard-library/blob/next/CONTRIBUTING.md)
- [Create Pull Request](https://github.com/php-standard-library/php-standard-library/pulls)
- [Report an Issue](https://github.com/php-standard-library/php-standard-library/issues)

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance94

Actively maintained with recent releases

Popularity34

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.2% 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 ~6 days

Recently: every ~16 days

Total

12

Last Release

31d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8489d7c85bfa7c637b8e13484f3f659652aea0568b6e7f9e66edeb0649b5a2f1?d=identicon)[azjezz](/maintainers/azjezz)

---

Top Contributors

[![azjezz](https://avatars.githubusercontent.com/u/29315886?v=4)](https://github.com/azjezz "azjezz (15 commits)")[![gsteel](https://avatars.githubusercontent.com/u/2803720?v=4)](https://github.com/gsteel "gsteel (1 commits)")[![veewee](https://avatars.githubusercontent.com/u/1618158?v=4)](https://github.com/veewee "veewee (1 commits)")

---

Tags

coerciontypetype-safetyvalidationtypevalidationcoerciontype-safety

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/php-standard-library-type/health.svg)

```
[![Health](https://phpackages.com/badges/php-standard-library-type/health.svg)](https://phpackages.com/packages/php-standard-library-type)
```

###  Alternatives

[composer/semver

Version comparison library that offers utilities, version constraint parsing and validation.

3.3k510.9M892](/packages/composer-semver)[giggsey/libphonenumber-for-php

A library for parsing, formatting, storing and validating international phone numbers, a PHP Port of Google's libphonenumber.

5.0k156.0M487](/packages/giggsey-libphonenumber-for-php)[respect/validation

The most awesome validation engine ever created for PHP

6.0k39.0M407](/packages/respect-validation)[propaganistas/laravel-phone

Adds phone number functionality to Laravel based on Google's libphonenumber API.

3.0k38.3M138](/packages/propaganistas-laravel-phone)[phpro/soap-client

A general purpose SoapClient library

8895.9M52](/packages/phpro-soap-client)[opis/json-schema

Json Schema Validator for PHP

64941.2M259](/packages/opis-json-schema)

PHPackages © 2026

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