PHPackages                             cognito/evalmath - 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. cognito/evalmath

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

cognito/evalmath
================

Evaluate mathematical and logic equations

1.2.0(1y ago)143.9k↓13.7%BSD-2-ClausePHPPHP &gt;=5.6.0CI passing

Since Jan 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/joshbmarshall/evalmathlogic)[ Packagist](https://packagist.org/packages/cognito/evalmath)[ Docs](https://github.com/joshbmarshall/evalmathlogic)[ RSS](/packages/cognito-evalmath/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (5)Dependencies (1)Versions (6)Used By (0)

EvalMath + Logic
================

[](#evalmath--logic)

PHP EvalMath with Logic equations

[![Build Status](https://camo.githubusercontent.com/8c05c72967520d71c3b67725c638dc1a065a169f159dcde13409e973fcaf73af/68747470733a2f2f7472617669732d63692e636f6d2f6a6f7368626d61727368616c6c2f6576616c6d6174686c6f6769632e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/joshbmarshall/evalmathlogic)

This package is a composer-aware way to add the EvalMath package by Miles Kaufmann. More information on the original at

Added to this is the ability to evaluate logic equations, as per the code by Lee Eden posted at

To use:

```
