PHPackages                             dennis-de-swart/php-math-parser - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. dennis-de-swart/php-math-parser

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

dennis-de-swart/php-math-parser
===============================

A simple shunting-yard based math parser and executor for PHP

09PHP

Since Jan 28Pushed 7y ago1 watchersCompare

[ Source](https://github.com/DennisDeSwart/php-math-parser)[ Packagist](https://packagist.org/packages/dennis-de-swart/php-math-parser)[ RSS](/packages/dennis-de-swart-php-math-parser/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

PHP-Math-Parser
===============

[](#php-math-parser)

[![Total Downloads](https://camo.githubusercontent.com/7f287fd38c2c8bb8505b8f90b1ae5ad2f3d2756dd2ee6beaa78e0f8415f38e56/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64656e6e69732d64652d73776172742f7068702d6d6174682d7061727365722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dennis-de-swart/php-math-parser)[![Maintenance](https://camo.githubusercontent.com/297dbb17e5e71691a5febec3366969896e7af47bd444e80320d8ddcd28e44d04/68747470733a2f2f696d672e736869656c64732e696f2f6d61696e74656e616e63652f7965732f323031392e7376673f7374796c653d666c61742d737175617265)](https://github.com/DennisDeSwart/php-math-parser)[![License](https://camo.githubusercontent.com/844c24de00439a35c4b350dbdfa20e6e460e712e0d02ee421bc7380f90ade5cf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f64656e6e69732d64652d73776172742f7068702d6d6174682d7061727365722e7376673f7374796c653d666c61742d737175617265)](https://opensource.org/licenses/MIT)

A Shunting-Yard Based Math Engine For PHP

This package is significantly modded version of:
------------------------------------------------

[](#this-package-is-significantly-modded-version-of)

```
https://github.com/ircmaxell/php-math-parser

```

Added features:
---------------

[](#added-features)

- Boolean comparison Greater Than,
- Boolean comparison Less Than
- optional Error Handling

Any questions?
--------------

[](#any-questions)

Please let me know.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ecf47b59f20e487b92ee5648a96da7a4551bb548213dc753918f3517279121e8?d=identicon)[DennisDeSwart](/maintainers/DennisDeSwart)

---

Top Contributors

[![ircmaxell](https://avatars.githubusercontent.com/u/660654?v=4)](https://github.com/ircmaxell "ircmaxell (11 commits)")[![seanfahey](https://avatars.githubusercontent.com/u/1139263?v=4)](https://github.com/seanfahey "seanfahey (7 commits)")[![DennisDeSwart](https://avatars.githubusercontent.com/u/9338304?v=4)](https://github.com/DennisDeSwart "DennisDeSwart (3 commits)")[![BinaryKitten](https://avatars.githubusercontent.com/u/67553?v=4)](https://github.com/BinaryKitten "BinaryKitten (1 commits)")[![devromans](https://avatars.githubusercontent.com/u/6248395?v=4)](https://github.com/devromans "devromans (1 commits)")

### Embed Badge

![Health badge](/badges/dennis-de-swart-php-math-parser/health.svg)

```
[![Health](https://phpackages.com/badges/dennis-de-swart-php-math-parser/health.svg)](https://phpackages.com/packages/dennis-de-swart-php-math-parser)
```

###  Alternatives

[azuracast/azuracast

The AzuraCast self-hosted web radio station management suite.

3.9k27.8k](/packages/azuracast-azuracast)[maize-tech/laravel-badges

Laravel Badges

378.0k](/packages/maize-tech-laravel-badges)[nikolaposa/zf-disqus

ZF module which facilitates integration of Disqus widgets

1210.7k](/packages/nikolaposa-zf-disqus)

PHPackages © 2026

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