PHPackages                             bensedev/type-guard - 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. bensedev/type-guard

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

bensedev/type-guard
===================

Type-safe value validation and coercion for PHP with PHPStan support

v1.0.0(7mo ago)087[2 PRs](https://github.com/BenSeDev/type-guard/pulls)1MITPHP ^8.4

Since Oct 6Compare

[ Source](https://github.com/BenSeDev/type-guard)[ Packagist](https://packagist.org/packages/bensedev/type-guard)[ RSS](/packages/bensedev-type-guard/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (5)Versions (4)Used By (1)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/BenSeDev/type-guard).

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance63

Regular maintenance activity

Popularity12

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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

225d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/09202caa58f25c9b9ca1b8de309e02aca5c605478fcbb5193b2ac301f0c8cc55?d=identicon)[bensedev](/maintainers/bensedev)

---

Tags

phptypePHPStanvalidationguardtype-safetyensure

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/bensedev-type-guard/health.svg)

```
[![Health](https://phpackages.com/badges/bensedev-type-guard/health.svg)](https://phpackages.com/packages/bensedev-type-guard)
```

PHPackages © 2026

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