nalabdou/algebra-php
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| nxp/math-executor | 0.81 | Safely parse and evaluate math expressions from strings in PHP. nxp/math-executor is a lightweight library with variables, functions, custom operators, and caching, ideal for calculators, dynamic pricing, and formula-driven logic in Laravel and PHP apps. | 230 | 231 | 49 | 109K | 0 | 20.6 | 42.7 | MIT | 1 month ago | |
| nalabdou/algebra-symfony | 0.80 | Symfony integration for the Algebra PHP library, providing bundle configuration, dependency injection, and framework-ready wiring so you can use algebraic expressions and structures cleanly in Symfony applications. | 0 | — | 0 | — | 0 | 8.2 | — | MIT | 7 months ago | |
| markrogoyski/math-php | 0.79 | Math PHP is a standalone PHP library for advanced mathematics: linear algebra (matrices, vectors), statistics and probability distributions, numerical analysis, calculus, polynomials, finance, and more. It offers a clean, well-tested API for scientific and data-driven PHP applications. | 2,415 | 2,424 | 240 | 203K | 50 | 35.4 | 45.2 | MIT | 1 year ago | |
| chriskonnertz/string-calc | 0.79 | 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 |
|
| mossadal/math-parser | 0.79 | 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. | 179 | 179 | 40 | 73K | 9 | 4.9 | 39.5 | LGPL-3.0 | — | |
| webmozart/expression | 0.78 | A lightweight PHP library for building and evaluating expressions as objects. Compose comparisons and logical operators (and, or, not), then evaluate them against values for reusable validation, filtering, and rule logic without hard-coded conditionals. | 212 | — | 10 | — | 1 | 1.5 | — | MIT | 10 years ago |
|
| innmind/math | 0.78 | InnMind Math is a compact PHP library for common mathematical operations and numeric handling. It offers reusable, framework-agnostic helpers and value objects that make calculations consistent and easy to integrate into PHP projects. | 3 | — | 1 | — | 3 | 16.3 | 0.4 | MIT | 2 months ago |
|
| rezzza/formulate | 0.78 | 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 |
|
| phpoffice/math | 0.77 | Pure-PHP library for building and converting math formulas in MathML and Office MathML (OMML). Provides classes for elements like identifiers, operators, numbers, fractions, superscripts, rows, and semantics. Requires PHP 7.1+ and XML/XMLWriter. | 33 | 32 | 5 | 2M | 0 | 1.4 | 55.3 | MIT | 1 year ago | |
| leongrdic/smplang | 0.77 | 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 | |
| php-standard-library/math | 0.77 | 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 | |
| mercurysolutions/mathml | 0.77 | 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 | — | — | |
| laminas/laminas-math | 0.76 | Laminas Math provides arbitrary-precision integer arithmetic via BCMath or GMP adapters and cryptographically secure random number and string generation. A lightweight PHP utility component for applications needing reliable math and randomness primitives. | 25 | — | 19 | — | 0 | 0.3 | — | BSD-3-Clause | 1 year ago |
|
| hoa/math | 0.76 | Hoa\Math is a PHP library for mathematical expression evaluation, offering functions, constants, arithmetic visitors, combinatorics helpers, and random samplers. It lets applications parse and compute math expressions using extensible contexts. | 362 | 374 | 36 | 662K | 9 | 3.0 | 34.5 | — | 9 years ago | |
| phpmath/bignumber | 0.76 | Arbitrary-precision arithmetic for PHP. phpmath/bignumber provides a BigNumber class for very large integers and high-precision decimals, with basic math operations, comparisons, rounding, and formatting beyond native integer and float limits. | 5 | — | 3 | — | 0 | 0.1 | — | MIT | 10 years ago |
|
| php-standard-library/php-standard-library | 0.76 | A standard library for PHP 8.4+ inspired by hhvm/hsl, offering consistent, well-typed APIs for async, collections, networking, I/O, cryptography, and terminal UI, replacing PHP primitives with safer, async-ready alternatives that error predictably. | 1,569 | 1,562 | 94 | 305K | 22 | 47.5 | 46.5 | MIT | 1 week ago | |
| symftony/xpression | 0.76 | PHP expression language that parses and compiles dynamic string expressions, letting you safely evaluate configurable logic with custom functions, variables, and operators—ideal for business rules, configs, and validation. | 17 | — | 2 | — | 1 | 0.3 | — | MIT | — |
|
| phpbench/phpbench | 0.76 | PHPBench is a benchmark runner for PHP, analogous to PHPUnit but measuring performance rather than correctness. It repeats code, samples iterations in isolated processes, and offers customizable reports, baseline storage and comparison, memory tracking, and assertions to catch regressions. | 2,028 | 2,022 | 132 | 672K | 29 | 46.1 | 52.8 | MIT | 4 months ago |
How can I help you explore Laravel packages today?