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

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

inspirenmy/php-math-parser
==========================

Simple mathematical expression parser and calculator.

1.0.0(7y ago)14.2k1MITPHPPHP &gt;=5.3.0

Since Feb 6Pushed 7y ago1 watchersCompare

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

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

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 an simple example of evaluation of mathematical expression

```
