sebastianbergmann/php-token-stream
Wrapper around PHP's tokenizer extension. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 6145
- days_rel: n/a
- days_push: 1864
- n_releases_24m: 0
Adoption not part of the score
6374 stars · 58 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A PHP library that wraps PHP's tokenizer extension, providing an object-oriented interface for working with tokenized PHP source code. It was primarily used by PHPUnit's code coverage components.
Use cases
- tokenize php source code
- analyze php code structure
- build php static analysis tools
- inspect php tokens programmatically
- support code coverage tooling
When to choose
- you need an OO wrapper around PHP's tokenizer for legacy PHPUnit versions
- you are maintaining tooling that depends on phpunit/php-token-stream
When to avoid
- starting a new project - it is deprecated in favor of nikic/php-parser
- you need a full AST rather than a token stream
- you need actively maintained parsing features
Facets
library · maturity maintenance
parser developer-tools parsers developer-tools testing php cli tokenizer phpunit static-analysis code-analysis
1 source
- readme: https://github.com/sebastianbergmann/php-token-stream · fetched 2026-08-28 · e64a0c7baae0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sebastianbergmann/php-token-stream | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="sebastianbergmann/php-token-stream")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem