PHPackages                             xylemical/php-expressions - 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. xylemical/php-expressions

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

xylemical/php-expressions
=========================

An extensible mathematical expression parser and evaluator.

v1.3.0(3w ago)690.4k↓45%6MITPHPPHP &gt;=7.1.0|&gt;=8.0CI failing

Since Mar 23Pushed 3w ago1 watchersCompare

[ Source](https://github.com/xylemical/php-expressions)[ Packagist](https://packagist.org/packages/xylemical/php-expressions)[ Docs](https://github.com/xylemical/php-expressions)[ RSS](/packages/xylemical-php-expressions/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (8)Used By (0)

PHP Expressions.
================

[](#php-expressions)

Simple mathematical expression parser and calculator.

Install
-------

[](#install)

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

```
composer require xylemical/php-expressions
```

Usage
-----

[](#usage)

Most basic use of the parsing and evaluation classes:

```
