PHPackages                             phplrt/grammar-contracts - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. phplrt/grammar-contracts

Abandoned → [phplrt/parser](/?search=phplrt%2Fparser)ArchivedLibrary[PSR &amp; Standards](/categories/psr-standards)

phplrt/grammar-contracts
========================

A set of phplrt grammar abstractions

3.1.8(4y ago)124.7k↓34.6%2MITPHPPHP ^7.4|^8.0

Since Dec 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/phplrt/grammar-contracts)[ Packagist](https://packagist.org/packages/phplrt/grammar-contracts)[ Docs](https://github.com/phplrt)[ RSS](/packages/phplrt-grammar-contracts/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (17)Used By (2)

 [![Phplrt](https://avatars2.githubusercontent.com/u/49816277?s=128)](https://railt.org)

Grammar Contracts
-----------------

[](#grammar-contracts)

A set of interfaces for abstraction over parsers grammar.

### Resources

[](#resources)

- [Documentation](https://github.com/phplrt/phplrt/blob/master/README.md)
- [Repository](https://github.com/phplrt/phplrt)
    - [Issues](https://github.com/phplrt/phplrt/issues)
    - [Pull Requests](https://github.com/phplrt/phplrt/pulls)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 73.3% 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 ~57 days

Recently: every ~135 days

Total

16

Last Release

1500d ago

Major Versions

2.3.6 → 3.0.02020-03-05

PHP version history (3 changes)2.3.0PHP &gt;=7.1.3

3.0.0PHP &gt;=7.4

3.1.8PHP ^7.4|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/150420?v=4)[Ruslan Sharipov](/maintainers/Serafim)[@serafim](https://github.com/serafim)

---

Top Contributors

[![SerafimArts](https://avatars.githubusercontent.com/u/2461257?v=4)](https://github.com/SerafimArts "SerafimArts (22 commits)")[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (8 commits)")

---

Tags

phplrtstandardsinterfacesinteroperabilitycontractsabstractionsdecouplinggrammarrules

###  Code Quality

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/phplrt-grammar-contracts/health.svg)

```
[![Health](https://phpackages.com/badges/phplrt-grammar-contracts/health.svg)](https://phpackages.com/packages/phplrt-grammar-contracts)
```

###  Alternatives

[symfony/translation-contracts

Generic abstractions related to translation

2.6k698.7M432](/packages/symfony-translation-contracts)[symfony/contracts

A set of abstractions extracted out of the Symfony components

3.9k64.6M103](/packages/symfony-contracts)

PHPackages © 2026

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