PHPackages                             oldpak/lexer - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. oldpak/lexer

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

oldpak/lexer
============

PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.

1.0(2y ago)0293MITPHPPHP ^7.1 || ^8.0

Since Apr 3Pushed 2y agoCompare

[ Source](https://github.com/oldpak/lexer)[ Packagist](https://packagist.org/packages/oldpak/lexer)[ Docs](https://www.doctrine-project.org/projects/lexer.html)[ RSS](/packages/oldpak-lexer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (2)Used By (3)

### README not available

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

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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

Unknown

Total

1

Last Release

766d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b410ab99bd8017d7913d281cae166e437c71683dd4360eff2adfe861c5cae98?d=identicon)[2233466866](/maintainers/2233466866)

---

Top Contributors

[![gengzhihuan](https://avatars.githubusercontent.com/u/24287500?v=4)](https://github.com/gengzhihuan "gengzhihuan (2 commits)")[![2233466866](https://avatars.githubusercontent.com/u/17674930?v=4)](https://github.com/2233466866 "2233466866 (1 commits)")

---

Tags

phpparserannotationsdocblocklexer

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/oldpak-lexer/health.svg)

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

###  Alternatives

[doctrine/lexer

PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.

11.2k910.8M117](/packages/doctrine-lexer)[jan-swiecki/simple-annotations

Simple annotation parser

66615.0k18](/packages/jan-swiecki-simple-annotations)[corveda/php-sandbox

A PHP library that can be used to run PHP code in a sandboxed environment

23483.5k2](/packages/corveda-php-sandbox)

PHPackages © 2026

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