PHPackages                             mossengine/fivecode-parsers-maths - 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. mossengine/fivecode-parsers-maths

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

mossengine/fivecode-parsers-maths
=================================

A Parser for the FiveCode library that provides math based logical instructions.

1.0.1(4y ago)06MITPHPPHP &gt;=7.0

Since Jul 5Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Mossengine/FiveCode-Parsers-Maths)[ Packagist](https://packagist.org/packages/mossengine/fivecode-parsers-maths)[ Docs](https://github.com/Mossengine/FiveCode-Parsers-Maths)[ RSS](/packages/mossengine-fivecode-parsers-maths/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

Mossengine/FiveCode-Parsers-Maths
=================================

[](#mossenginefivecode-parsers-maths)

 **A Parser for the FiveCode library that provides math based logical instructions.**

 [![Source Code](https://camo.githubusercontent.com/29944b4fe19c6595591f7e9add3b9576091f310ceab1244813046d8d6b54864c/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f6e616d652f4d6f7373656e67696e652f46697665436f64652d506172736572732d4d61746873)](https://github.com/Mossengine/FiveCode-Parsers-Maths) [![Download Package](https://camo.githubusercontent.com/99a9e83505d91c3f5ba6a971855aeea130204ee77389d2eb99bfbd65d98d2b34/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f4d6f7373656e67696e652f46697665436f64652d506172736572732d4d617468733f6c6162656c3d76657273696f6e)](https://packagist.org/packages/Mossengine/FiveCode-Parsers-Maths) [![PHP Programming Language](https://camo.githubusercontent.com/93b153aafba6d8bb82256756f73feb0611e9f885b5ca328d6c7c0e3d25cdb235/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f4d6f7373656e67696e652f46697665436f64652d506172736572732d4d61746873)](https://php.net) [![Build Status](https://camo.githubusercontent.com/c8846f04ecc1b9cf7f9a07d25f3d3e70b73a59f83f07d8a7262e1e42f52acbd5/68747470733a2f2f62616467656e2e6e65742f636972636c6563692f6769746875622f4d6f7373656e67696e652f46697665436f64652d506172736572732d4d617468732f6d61737465723f69636f6e3d636972636c656369)](https://camo.githubusercontent.com/c8846f04ecc1b9cf7f9a07d25f3d3e70b73a59f83f07d8a7262e1e42f52acbd5/68747470733a2f2f62616467656e2e6e65742f636972636c6563692f6769746875622f4d6f7373656e67696e652f46697665436f64652d506172736572732d4d617468732f6d61737465723f69636f6e3d636972636c656369) [![Codecov Code Coverage](https://camo.githubusercontent.com/fe8c6de0c4a654fc94b78d81bc48d42095b0078258e1db136ca17741a0571325/68747470733a2f2f62616467656e2e6e65742f636f6465636f762f632f6769746875622f4d6f7373656e67696e652f46697665436f64652d506172736572732d4d617468732f6d61737465723f69636f6e3d636f6465636f76)](https://codecov.io/github/Mossengine/FiveCode-Parsers-Maths) [![Read License](https://camo.githubusercontent.com/6c5ed2cdf8c919f2bc99fe4245ccf050c126cba35a714057bd570556aae9a793/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f6c6963656e73652f4d6f7373656e67696e652f46697665436f64652d506172736572732d4d61746873)](https://github.com/mossengine/FiveCode-Parsers-Maths/blob/master/LICENSE) [![Package downloads on Packagist](https://camo.githubusercontent.com/84543a9da93db0aa0bdd520116167fbe6f72213f683290654391bdca893118d2/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f64742f4d6f7373656e67696e652f46697665436f64652d506172736572732d4d61746873)](https://packagist.org/packages/Mossengine/FiveCode-Parsers-Maths/stats)

Installation
------------

[](#installation)

```
$ composer require mossengine/fivecode-parsers-maths ^1.0.0

```

```
{
    "require": {
        "mossengine/fivecode-parsers-maths": "^1.0.0"
    }
}
```

Usage
-----

[](#usage)

```
// Require the autoloader, normal composer stuff
require 'vendor/autoload.php';

Mossengine\FiveCode\FiveCode::make([
    'parsers' => [
        'include' => [
            Mossengine\FiveCode\Parsers\Maths::class
        ]
    ],
])
    ->evaluate([
        ['maths.addition' => [
            1,
            2
        ]]
    ])
    ->return(0);
```

Documentation
-------------

[](#documentation)

Read the [docs](https://github.com/Mossengine/FiveCode/blob/2.2.2/docs/index.md) for more details on FiveCode language structure

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Every ~0 days

Total

2

Last Release

1778d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0508d26fa70a2d0733a48395a313155d34ffae32e2e8e02498d18a506c75ba5f?d=identicon)[brenmoss](/maintainers/brenmoss)

---

Top Contributors

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

---

Tags

codeparsers5GLfivecode

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/mossengine-fivecode-parsers-maths/health.svg)

```
[![Health](https://phpackages.com/badges/mossengine-fivecode-parsers-maths/health.svg)](https://phpackages.com/packages/mossengine-fivecode-parsers-maths)
```

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

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

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[jms/metadata

Class/method/property metadata management in PHP

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

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M627](/packages/jms-serializer-bundle)[meyfa/php-svg

Read, edit, write, and render SVG files with PHP

54613.9M42](/packages/meyfa-php-svg)[mck89/peast

Peast is PHP library that generates AST for JavaScript code

18934.7M29](/packages/mck89-peast)

PHPackages © 2026

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