PHPackages                             bavix/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. bavix/lexer

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

bavix/lexer
===========

lexer

1.0.9(6y ago)01831MITPHPPHP ^7.2CI failing

Since Dec 1Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/bavix/lexer)[ Packagist](https://packagist.org/packages/bavix/lexer)[ RSS](/packages/bavix-lexer/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (3)Versions (14)Used By (1)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/2f130a1c77e1e0698750f9931daa51bb69fc021a534b8b38f189fc04df25c28b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617669782f6c657865722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bavix/lexer/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/b9dd405474f53620cfa39d8d483b6eca4298ad60c6186c3c4768a90d5d0e6fbd/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617669782f6c657865722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bavix/lexer/?branch=master)[![Build Status](https://camo.githubusercontent.com/4ecd29d59d9c89386b720ea488e2340e57d8766eea73ee5c38bb55301f89a947/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617669782f6c657865722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bavix/lexer/build-status/master)[![Code Intelligence Status](https://camo.githubusercontent.com/1958aa93e53da3a580ff141b0e57861f45053fc7c4fd30a5378ca2c9150fc0bd/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617669782f6c657865722f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)[![Mutation testing badge](https://camo.githubusercontent.com/05780a68342fec7f002099604462d99fd18183cbdd51cc71b13714420f06f466/68747470733a2f2f62616467652e737472796b65722d6d757461746f722e696f2f6769746875622e636f6d2f62617669782f6c657865722f6d6173746572)](https://packagist.org/packages/bavix/lexer)

[![Package Rank](https://camo.githubusercontent.com/754de9f94cbc332613918e36717a1faf48e0397e6be32e4d29c8a2bc6cb222d4/68747470733a2f2f7068707061636b616765732e6f72672f702f62617669782f6c657865722f62616467652f72616e6b2e737667)](https://packagist.org/packages/bavix/lexer)[![Latest Stable Version](https://camo.githubusercontent.com/f12f0803d3aefc11a1da727e506b314ad255b2293063ed91ddcb6cae123f0ab1/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f6c657865722f762f737461626c65)](https://packagist.org/packages/bavix/lexer)[![Latest Unstable Version](https://camo.githubusercontent.com/6d20dafd24e2e0bcb438cd0d87c8c2b2beef1041bbe2f8ba6cec2b86dd6c866c/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f6c657865722f762f756e737461626c65)](https://packagist.org/packages/bavix/lexer)[![License](https://camo.githubusercontent.com/3a5ff06154807926c603719cb3723c01bc4392f38115bc45094864b486528167/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f6c657865722f6c6963656e7365)](https://packagist.org/packages/bavix/lexer)[![composer.lock](https://camo.githubusercontent.com/f21d1413a1d026e843d73193f251900699841a99bca7766c328d874e46320268/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f6c657865722f636f6d706f7365726c6f636b)](https://packagist.org/packages/bavix/lexer)

lexer - the process of analytical analysis of the input sequence of characters into recognized groups - tokens.

- **Vendor**: bavix
- **Package**: lexer
- **Version**: [![Latest Stable Version](https://camo.githubusercontent.com/f12f0803d3aefc11a1da727e506b314ad255b2293063ed91ddcb6cae123f0ab1/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f6c657865722f762f737461626c65)](https://packagist.org/packages/bavix/lexer)
- **PHP Version**: 7.2+
- **[Composer](https://getcomposer.org/):** `composer require bavix/lexer`

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance43

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 81.1% 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 ~76 days

Recently: every ~171 days

Total

10

Last Release

2390d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/266f28651b740a279e636ef42fadcc7d72941c7a4bf9a29c4fd62c72476f0c0e?d=identicon)[REZ1DENT3](/maintainers/REZ1DENT3)

---

Top Contributors

[![rez1dent3](https://avatars.githubusercontent.com/u/5111255?v=4)](https://github.com/rez1dent3 "rez1dent3 (30 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (6 commits)")[![mend-bolt-for-github[bot]](https://avatars.githubusercontent.com/in/16809?v=4)](https://github.com/mend-bolt-for-github[bot] "mend-bolt-for-github[bot] (1 commits)")

---

Tags

lexer

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M283](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M226](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M63](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M344](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)

PHPackages © 2026

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