PHPackages                             ls-a/arithmetic-ast - 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. ls-a/arithmetic-ast

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

ls-a/arithmetic-ast
===================

Implements the Shunting Yard Algorithm and creates an Abstract Syntax Tree with arithmetic operations

1.0.0(6mo ago)0241GPL-3.0-or-laterPHP ^8.0.0

Since Nov 13Compare

[ Source](https://github.com/ls-a-fr/arithmetic-ast-php)[ Packagist](https://packagist.org/packages/ls-a/arithmetic-ast)[ RSS](/packages/ls-a-arithmetic-ast/feed)WikiDiscussions Synced 1mo ago

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

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/ls-a-fr/arithmetic-ast-php).

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance68

Regular maintenance activity

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

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

185d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/190fe5341e199139e5f0a048b4b10e5cd07355c6b55ecaf6ca7ba41b65e97852?d=identicon)[renaudberthier](/maintainers/renaudberthier)

---

Top Contributors

[![renaudberthier](https://avatars.githubusercontent.com/u/1874017?v=4)](https://github.com/renaudberthier "renaudberthier (3 commits)")

---

Tags

matharithmeticcomparisonastutilsoperationshuntingyard

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ls-a-arithmetic-ast/health.svg)

```
[![Health](https://phpackages.com/badges/ls-a-arithmetic-ast/health.svg)](https://phpackages.com/packages/ls-a-arithmetic-ast)
```

###  Alternatives

[ajthinking/archetype

Programmatically edit PHP and Laravel files.

2723.4M12](/packages/ajthinking-archetype)[jakubledl/dissect

Lexing and parsing in pure PHP

2244.6M11](/packages/jakubledl-dissect)[palantirnet/drupal-rector

Instant fixes for your Drupal code by using Rector.

1544.2M20](/packages/palantirnet-drupal-rector)[nxp/math-executor

Simple math expressions calculator

2281.7M7](/packages/nxp-math-executor)[madorin/matex

PHP Mathematical expression parser and evaluator

1161.2M1](/packages/madorin-matex)[chriskonnertz/string-calc

StringCalc is a PHP calculator library for mathematical terms (expressions) passed as strings.

102643.3k5](/packages/chriskonnertz-string-calc)

PHPackages © 2026

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