PHPackages                             hnesk/php-peg - 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. hnesk/php-peg

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

hnesk/php-peg
=============

Minimally invasive fork of hafriedlander/php-peg with support for composer autoloading

1.0.1(11y ago)24.3k11MITPHPPHP &gt;=5.3.0

Since Oct 29Pushed 11y ago1 watchersCompare

[ Source](https://github.com/hnesk/php-peg)[ Packagist](https://packagist.org/packages/hnesk/php-peg)[ Docs](https://github.com/hnesk/php-peg)[ RSS](/packages/hnesk-php-peg/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (4)Used By (1)

Fork of PHP PEG with composer autoloading
=========================================

[](#fork-of-php-peg-with-composer-autoloading)

This is a minimally invasive fork of [hafriedlander/php-peg](https://github.com/hafriedlander/php-peg) with support for composer autoloading.

[Documentation of the original](https://github.com/hafriedlander/php-peg)

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 53.8% 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 ~0 days

Total

2

Last Release

4252d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d0d0855186216bf09d14f950de078217113198311a9685c2601667088ca39db?d=identicon)[hnesk](/maintainers/hnesk)

---

Top Contributors

[![hnesk](https://avatars.githubusercontent.com/u/186821?v=4)](https://github.com/hnesk "hnesk (7 commits)")[![peter-kolenic](https://avatars.githubusercontent.com/u/3885371?v=4)](https://github.com/peter-kolenic "peter-kolenic (3 commits)")[![cognifloyd](https://avatars.githubusercontent.com/u/1558590?v=4)](https://github.com/cognifloyd "cognifloyd (1 commits)")[![simonwelsh](https://avatars.githubusercontent.com/u/125915?v=4)](https://github.com/simonwelsh "simonwelsh (1 commits)")[![uwetews](https://avatars.githubusercontent.com/u/1246127?v=4)](https://github.com/uwetews "uwetews (1 commits)")

---

Tags

parserDSLcompilerpeg

### Embed Badge

![Health badge](/badges/hnesk-php-peg/health.svg)

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

###  Alternatives

[nikic/php-parser

A PHP parser written in PHP

17.4k936.5M2.3k](/packages/nikic-php-parser)[doctrine/lexer

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

11.2k942.7M149](/packages/doctrine-lexer)[erusev/parsedown

Parser for Markdown.

15.0k155.2M839](/packages/erusev-parsedown)[behat/gherkin

Gherkin DSL parser for PHP

1.1k182.1M125](/packages/behat-gherkin)[league/commonmark

Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)

3.0k426.1M936](/packages/league-commonmark)[masterminds/html5

An HTML5 parser and serializer.

1.8k260.4M292](/packages/masterminds-html5)

PHPackages © 2026

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