mossadal/math-parser
Safe PHP math expression parser/evaluator that builds an AST from user formulas. Supports arithmetic, variables, and elementary functions, plus interpreters for evaluation, symbolic differentiation, and LaTeX pretty-printing; customizable lexer/parser with StdMathParser.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| interop-phpobjects/polite-math | 0.80 | — | 1 | 1 | 0 | 32K | 0 | 2.4 | 55.3 | MIT | 2 years ago | |
| rezzza/formulate | 0.80 | rezzza/formulate is a Laravel form-building package that lets you declare fields, validation, and layout in PHP, then render clean HTML forms and bind data to models. It helps keep form markup and rules centralized and reusable across your app. | 12 | — | 4 | — | 1 | 0.3 | — | MIT | 10 years ago |
|
| leongrdic/smplang | 0.80 | SMPLang is a small PHP language/parser package for defining and evaluating simple expressions in your app. Useful for lightweight DSLs, rules, filters, or templating-like syntax, with an emphasis on minimal setup and easy integration into Laravel projects. | 16 | 16 | 4 | 56K | 1 | 1.4 | 48.9 | — | 4 years ago | |
| mercurysolutions/mathml | 0.79 | A Laravel package for working with MathML, making it easy to render mathematical notation and equations in your PHP applications. Integrates cleanly with Blade views for displaying math content. | 5 | 5 | 1 | 56 | 0 | 0.1 | 14.0 | — | — | |
| kitano/php-expression | 0.79 | kitano/php-expression is a lightweight PHP library for parsing and evaluating expressions safely without eval. It supports variables, operators, and functions, making it useful for dynamic formulas, rules, and configurable logic in PHP applications. | 30 | 30 | 3 | 0 | 2 | 0.6 | — | MIT | — | |
| nalabdou/algebra-php | 0.79 | algebra-php is a PHP library for working with algebraic expressions, helping you parse, evaluate, and manipulate formulas and equations in your code. It brings structured math operations to PHP, making variables, expressions, and calculations easier to handle cleanly. | 0 | 1 | 0 | 4 | 0 | 7.3 | 10.3 | MIT | 7 months ago | |
| ardiakov/string-stack-calc | 0.79 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 6 years ago | |
| yosymfony/parser-utils | 0.79 | A small PHP toolkit for building parsers, providing tokens, token streams, AST nodes, source locations, and syntax errors. It offers reusable utilities for lexers and recursive-descent parsers, and underpins libraries such as yosymfony/toml. | 21 | 21 | 3 | 48K | 0 | 0.2 | 46.1 | MIT | 8 years ago | |
| rindow/rindow-math-buffer-ffi | 0.78 | A universal one-dimensional buffer for exchanging numeric data between PHP and C/C++ through FFI, designed for math libraries. Provides fast, shared memory access for vectors and matrices across Linux, Windows, and macOS on PHP 8.1 through 8.4. | 0 | 0 | 0 | 20 | 0 | 19.2 | 21.0 | BSD-3-Clause | 2 months ago | |
| ircmaxell/php-c-parser | 0.78 | Parse C source files into an AST in PHP (PHP 8.4+), including preprocessing resolution. Use a Context to set #define values (ints, strings, identifiers) before parsing. Great for analysis tools, code inspection, and experimentation. | 43 | 44 | 7 | 237 | 4 | 11.9 | 13.3 | MIT | 6 months ago | |
| chriskonnertz/string-calc | 0.78 | StringCalc is a lightweight PHP library that evaluates mathematical expressions passed as strings, turning terms like 1+1 or sqrt(16)*2 into results. It supports basic operators, brackets, and common functions, with no dependencies—ideal for calculators and formula inputs. | 102 | — | 19 | — | 7 | 3.0 | 1.9 | MIT | 4 years ago |
|
| denismitr/calculator-bundle | 0.78 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| microsoft/tolerant-php-parser | 0.78 | Tolerant PHP parser from Microsoft that builds an AST even from incomplete or syntactically invalid code. Ideal for IDEs, refactoring tools, and static analysis, with error recovery and precise source positions for tokens and nodes. | 895 | 896 | 84 | 204K | 54 | 23.3 | 52.3 | MIT | — | |
| moontoast/math | 0.78 | PHP math utilities for Laravel and general use, offering convenient helpers for precise calculations, percentages, rounding, and numeric formatting. Lightweight and easy to integrate into apps where consistent arithmetic and number handling matter. | 456 | 365 | 7 | 137K | 1 | 2.3 | 24.1 | Apache-2.0 | 6 years ago | |
| php-standard-library/math | 0.78 | Strictly typed math utilities for PHP with predictable, consistent error handling. Part of the PHP Standard Library project, providing reliable mathematical functions and a stable developer experience for safer numeric operations. | 1 | 1 | 0 | 20K | 0 | 21.6 | 64.9 | MIT | 1 week ago | |
| lstrojny/hmmmath | 0.78 | PHP math utility package providing common numeric helpers and algorithms. Useful for calculations, statistics-like operations, and reusable math functions in Laravel or any PHP project. Lightweight, dependency-friendly, and easy to integrate into existing codebases. | 15 | 16 | 5 | 3K | 0 | 0.3 | 31.6 | — | — | |
| edemy/mathbundle | 0.78 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| symplify/simple-php-doc-parser | 0.78 | Simple PHP Doc Parser by Symplify is a lightweight library for reading PHP docblocks. It extracts comments, tags, and annotations from classes, methods, and properties through a simple API, making PHPDoc data easy to use in static analysis, code generation, and documentation tools. | 0 | 24 | — | 480 | — | 0.0 | 37.1 | — | — | |
| andydefer/php-signature-parser | 0.78 | A strict, typed parser for CLI signatures that extracts the command source, required and default arguments, nullables, variadics, enums, and flags using value objects and typed collections, with ^ spacing, inline comments, special tokens, and custom tags. | 0 | 0 | 0 | 543 | 0 | 0.0 | 37.8 | — | — | |
| parsica-php/parsica | 0.78 | Parsica is a PHP parser combinator library for building custom parsers from small reusable pieces. Compose complex grammars with a fluent API, parse strings into structured results, and handle errors cleanly—ideal for DSLs, config formats, and language tooling. | 413 | 413 | 19 | 20K | 11 | 10.8 | 29.6 | MIT | 1 year ago |
How can I help you explore Laravel packages today?