PHPackages                             optimistex/math-expression - 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. optimistex/math-expression

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

optimistex/math-expression
==========================

Taken from http://www.phpclasses.org/browse/file/11680.html, cred to Miles Kaufmann

2.2.3(1y ago)86.8k↓50%MITPHPPHP ^5.4 || &gt;=7.0 || ^8.1CI passing

Since Aug 23Pushed 1y ago1 watchersCompare

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

READMEChangelog (10)Dependencies (1)Versions (17)Used By (0)

Math expression
===============

[](#math-expression)

Safely evaluate math and boolean expressions.

Install
=======

[](#install)

```
    $ composer require optimistex/math-expression

```

SYNOPSIS
========

[](#synopsis)

```
