PHPackages                             ircmaxell/php-types - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ircmaxell/php-types

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ircmaxell/php-types
===================

A PHP CFG Type Inference / Reconstruction Engine

v0.5.0(7y ago)361.0k6[1 PRs](https://github.com/ircmaxell/php-types/pulls)MITPHPPHP &gt;=5.5

Since Feb 27Pushed 8mo ago6 watchersCompare

[ Source](https://github.com/ircmaxell/php-types)[ Packagist](https://packagist.org/packages/ircmaxell/php-types)[ RSS](/packages/ircmaxell-php-types/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

PHP-Types
=========

[](#php-types)

A PHP Type reconstruction library!!!

This uses [PHP-CFG](https://github.com/ircmaxell/php-cfg) as a base to reconstruct and infer types onto the graph.

For usage, check the tests...

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance42

Moderate activity, may be stable

Popularity29

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.9% 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 ~3 days

Total

3

Last Release

2632d ago

Major Versions

v0.5.x-dev → v1.0.x-dev2019-03-04

PHP version history (2 changes)v0.5.0PHP &gt;=5.5

v1.0.x-devPHP &gt;=7.0

### Community

Maintainers

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

---

Top Contributors

[![ircmaxell](https://avatars.githubusercontent.com/u/660654?v=4)](https://github.com/ircmaxell "ircmaxell (10 commits)")[![nikic](https://avatars.githubusercontent.com/u/216080?v=4)](https://github.com/nikic "nikic (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ircmaxell-php-types/health.svg)

```
[![Health](https://phpackages.com/badges/ircmaxell-php-types/health.svg)](https://phpackages.com/packages/ircmaxell-php-types)
```

PHPackages © 2026

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