PHPackages                             mathematicator-core/engine - 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. mathematicator-core/engine

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

mathematicator-core/engine
==========================

Math computational Engine

v3.0.1(5y ago)23.6k[6 PRs](https://github.com/mathematicator-core/engine/pulls)4MITPHPPHP ^8.0

Since Jul 25Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mathematicator-core/engine)[ Packagist](https://packagist.org/packages/mathematicator-core/engine)[ Docs](https://github.com/mathematicator-core/engine)[ RSS](/packages/mathematicator-core-engine/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (18)Versions (27)Used By (4)

 Mathematicator Framework Engine
=================================

[](#----mathematicator-framework-engine)

 [ ![](https://avatars3.githubusercontent.com/u/44620375?s=100&v=4) ](https://mathematicator.com)

[![Integrity check](https://github.com/mathematicator-core/engine/workflows/Integrity%20check/badge.svg)](https://github.com/mathematicator-core/engine/actions?query=workflow%3A%22Integrity+check%22)[![codecov](https://camo.githubusercontent.com/38862f8bc32a84d78f2e24604023a515a7404f17e1b90d2b1fc04cc38efe534d/68747470733a2f2f636f6465636f762e696f2f67682f6d617468656d6174696361746f722d636f72652f656e67696e652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/mathematicator-core/engine)[![Latest Stable Version](https://camo.githubusercontent.com/5a18837db7454a22655decc6cd0a9f0b8238f0097af6eca0d6be0822ba377f49/68747470733a2f2f706f7365722e707567782e6f72672f6d617468656d6174696361746f722d636f72652f656e67696e652f762f737461626c65)](https://packagist.org/packages/mathematicator-core/engine)[![Latest Unstable Version](https://camo.githubusercontent.com/c02f95e6bc03b5cc495e8918c8d0545842ad4e1955372ea765967a0e8b7f2c92/68747470733a2f2f706f7365722e707567782e6f72672f6d617468656d6174696361746f722d636f72652f656e67696e652f762f756e737461626c65)](https://packagist.org/packages/mathematicator-core/engine)[![License: MIT](https://camo.githubusercontent.com/1a2e0606685ce00663bf829868f794fd3fc9c86f8d80cae324734129e0723a58/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d627269676874677265656e2e737667)](./LICENSE)[![PHPStan Enabled](https://camo.githubusercontent.com/9142f3d2ec7588a75127608ff41f595540402524559c6f50feb756df4b8cf6c5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642532304c382d627269676874677265656e2e7376673f7374796c653d666c6174)](https://phpstan.org/)

This is a Mathematicator Framework common library for advance work with math patterns, tokens and computing. The library is considered as a sublayer for other tools in Mathematicator Framework.

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

[](#installation)

```
composer require mathematicator-core/engine

```

Features
--------

[](#features)

This package contains set of tools that other [mathematicator-core](https://github.com/mathematicator-core)packages have in common.

- Basic controllers
- System / common entities (DAOs)
- Translator (helper and common translations)
- Common exceptions
- Common router

Mathematicator Framework tools structure
----------------------------------------

[](#mathematicator-framework-tools-structure)

The biggest advantage is that you can choose which layer best fits your needs and start build on the top of it, immediately, without the need to create everything by yourself. Our tools are tested for bugs and tuned for performance, so you can save a significant amount of your time, money, and effort.

Framework tend to be modular as much as possible, so you should be able to create an extension on each layer and its sublayers.

**Mathematicator framework layers** ordered from the most concrete one to the most abstract one:

    **[ Search ](https://github.com/mathematicator-core/search)**    Modular search engine layer that calls its sublayers and creates user interface.      **[ Vizualizator ](https://github.com/mathematicator-core/vizualizator)**    Elegant graphic visualizer that can render to SVG, PNG, JPG and Base64.
 Extensions:  **[ Mandelbrot set generator ](https://github.com/mathematicator-core/mandelbrot-set)**       **[ Calculator ](https://github.com/mathematicator-core/calculator)**    Modular advance calculations layer.
 Extensions:  **[ Integral Solver ](https://github.com/mathematicator-core/integral-solver), [ Statistics ](https://github.com/mathematicator-core/statistic)**       **[ Engine ](https://github.com/mathematicator-core/engine)**    Core logic layer that maintains basic controllers, DAOs, translator, common exceptions, routing etc.      **[ Tokenizer ](https://github.com/mathematicator-core/tokenizer)**    Tokenizer that can convert string (user input / LaTeX) to numbers and operators.      **[ Numbers ](https://github.com/mathematicator-core/numbers)**    Fast &amp; secure storage for numbers with arbitrary precision. It supports Human string and LaTeX output and basic conversions.  **Third-party packages:**

⚠️ Not guaranteed!

    **[ REST API ](https://github.com/cothema/math-php-api)**    Install the whole pack as a REST API service on your server (Docker ready) or access it via public cloud REST API.  Contribution
------------

[](#contribution)

> Please help to improve this documentation by sending a Pull request.

### Tests

[](#tests)

All new contributions should have its unit tests in `/tests` directory.

Before you send a PR, please, check all tests pass.

This package uses [Nette Tester](https://tester.nette.org/). You can run tests via command:

```
composer test
```

For benchmarking, we use [phpbench](https://github.com/phpbench/phpbench). You can run benchmarks this way:

```
composer global require phpbench/phpbench @dev # only the first time
phpbench run
```

Before PR, please run complete code check via command:

```
composer cs:install # only first time
composer fix # otherwise pre-commit hook can fail
```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 82.7% 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 ~32 days

Total

19

Last Release

1946d ago

Major Versions

v1.0.10 → v2.0.02020-04-14

v2.0.5 → v3.0.02021-02-10

PHP version history (3 changes)v1.0.0PHP &gt;=7.1

v2.0.3PHP &gt;=7.2

v3.0.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3382204?v=4)[baraja](/maintainers/baraja)[@baraja](https://github.com/baraja)

---

Top Contributors

[![janbarasek](https://avatars.githubusercontent.com/u/4738758?v=4)](https://github.com/janbarasek "janbarasek (143 commits)")[![flokixdev](https://avatars.githubusercontent.com/u/2387790?v=4)](https://github.com/flokixdev "flokixdev (27 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (2 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

enginemathtokenizertranslatorphpmathmathematicator

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mathematicator-core-engine/health.svg)

```
[![Health](https://phpackages.com/badges/mathematicator-core-engine/health.svg)](https://phpackages.com/packages/mathematicator-core-engine)
```

###  Alternatives

[phlak/directory-lister

PHP directory lister

2.5k1.4k](/packages/phlak-directory-lister)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1715.6k12](/packages/2lenet-crudit-bundle)[flarum/core

Delightfully simple forum software.

201.4M2.2k](/packages/flarum-core)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1155.2k](/packages/rcsofttech-audit-trail-bundle)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14114.1k13](/packages/netgen-content-browser)

PHPackages © 2026

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