PHPackages                             aboyadzhiev/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. aboyadzhiev/php-math-parser

ActiveLibrary

aboyadzhiev/php-math-parser
===========================

Simple mathematical expression parser and calculator.

2.0.0(3y ago)2443.7k↓12.1%19MITPHPPHP &gt;=8.1

Since Apr 12Pushed 3y ago4 watchersCompare

[ Source](https://github.com/aboyadzhiev/php-math-parser)[ Packagist](https://packagist.org/packages/aboyadzhiev/php-math-parser)[ RSS](/packages/aboyadzhiev-php-math-parser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Math
====

[](#math)

Simple mathematical expression parser and calculator.

Install
-------

[](#install)

The recommended way to install Math is [through composer](http://getcomposer.org).

```
{
    "require": {
        "aboyadzhiev/php-math-parser": "dev-master"
    }
}
```

Usage
-----

[](#usage)

Here is simple example of evaluating math expression

```
