Skip to content
M

MathExecutor

Simple math expresions parser and calculator

by neonxpFree

#582in Education
0In stores

Description

MathExecutor is a PHP library that parses and evaluates math expressions, and it is designed to be extended. It supports the operators +, -,…

Highlights

  • Operators, parentheses, arrays and logical operators
  • Custom PHP functions
  • Custom operators with priority
  • Variables and undefined-variable handler
  • Installed with Composer

Ratings & Reviews

No ratings yet

Be the first to rate MathExecutor.

People also visit

M

MathParser.org-mXparser

Math Parser: Java, C#, C++, Kotlin, Android, and all .NET platforms

Education
Launch
F

Fast Formula Parser

Parse and evaluate MS Excel formula in javascript

Productivity
Launch
E

ExpressionEvaluator

A Simple Math and Pseudo C# Expression Evaluator in One C# File

Education
Launch
T

Tinyexpr

tiny recursive descent expression parser, compiler

Education
Launch
N

Num2math

Complicated math expression generator

Education
Launch
G

githejie/mcp-server-calculator

Calculator for precise numerical calculations

AI Skills
Get

MathExecutor FAQ

What is MathExecutor?

A PHP library that parses and calculates math expressions and can be extended.

How do I install it?

Install it with Composer, as shown in the README.

Can I add my own functions?

Yes. The README shows addFunction with examples such as round and average.

Can I add operators?

Yes. An operator takes a sign, an associativity flag, a priority and a PHP function, as the README's modulo example shows.

Which operators are built in?

+, -, *, /, %, power (^), parentheses, arrays and logical operators.

What are the best MathExecutor alternatives?

Popular alternatives to MathExecutor include MathParser.org-mXparser, ExpressionEvaluator and Tinyexpr. See all MathExecutor alternatives

Developer Stuff

Badges