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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| leongrdic/smplang | 0.84 | 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 | 49.4 | — | 4 years ago | |
| akeneo-labs/spreadsheet-parser | 0.83 | Lightweight spreadsheet reader focused on low memory usage, even for large files. Parses XLSX and CSV, exposes workbook/worksheet APIs, and provides row iterators for streaming data extraction with configurable CSV options (encoding, delimiter, enclosure, etc.). | 145 | 147 | 49 | 4K | 13 | 7.6 | 25.7 | NOASSERTION | 7 years ago | |
| ircmaxell/php-c-parser | 0.83 | 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. | 44 | 44 | 7 | 86 | 4 | 17.0 | 8.5 | MIT | 3 months ago | |
| fluxbb/commonmark | 0.82 | Laravel-friendly CommonMark utilities from FluxBB: parse, render, and work with Markdown/CommonMark content in PHP with sensible defaults and integration patterns suited to Laravel apps. Lightweight package aimed at consistent, safe content rendering. | 15 | 15 | 1 | 6 | 5 | 1.4 | 3.0 | MIT | — | |
| edemy/mathbundle | 0.82 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| goaop/parser-reflection | 0.82 | AST-based Reflection API for PHP: introspect classes, methods, and properties directly from source code without autoloading or executing anything. Built on nikic/php-parser and compatible with native Reflection classes—ideal for static analyzers, code generators, and IDE tooling. | 101 | 101 | 50 | 25K | 1 | 19.0 | 36.5 | MIT | 4 months ago | |
| sylius/taxation | 0.81 | Sylius Taxation Component provides core models and extensible tax calculators to handle taxes for different items, zones, and tax rates in PHP applications. Part of the Sylius eCommerce ecosystem, designed for easy integration and customization. | 11 | 11 | 4 | 11K | 0 | 0.2 | 41.1 | MIT | — | |
| devtrw/parse-bundle | 0.81 | — | 1 | 2 | 0 | 0 | 0 | 0.0 | — | — | — | |
| akeneo-labs/spreadsheet-parser-bundle | 0.80 | — | 4 | 4 | 1 | 2 | 0 | 0.7 | 2.0 | NOASSERTION | 12 years ago | |
| ardiakov/string-stack-calc | 0.80 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 6 years ago | |
| spatie/tax-calculator | 0.80 | Interfaces and helpers to simplify tax calculations in PHP. Use TaxCalculation with plain numbers or items implementing HasTax to compute base, tax, and total prices, and combine calculations (e.g., cart items + delivery) on the fly. | 81 | 83 | 12 | 364 | 0 | 1.1 | 10.2 | MIT | 4 years ago | |
| langleyfoxall/math_eval | 0.79 | Safely evaluate math expressions in PHP. langleyfoxall/math_eval parses and computes strings with operators, brackets, and common functions, ideal for user-defined formulas and configuration values without using eval(). Lightweight and easy to integrate in Laravel or any PHP app. | 42 | 43 | 6 | 8K | 2 | 20.8 | 36.7 | LGPL-3.0 | 1 month ago | |
| jms/parser-lib | 0.79 | jms/parser-lib is a lightweight PHP parser library by JMS, providing reusable parsing components to build custom parsers quickly. Ideal for interpreting structured text and creating DSLs. Full docs available at jmsyst.com/libs/parser-lib. | 827 | 834 | 15 | 190K | 1 | 5.0 | 32.6 | Apache-2.0 | 4 years ago | |
| denismitr/calculator-bundle | 0.79 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| moontoast/math | 0.79 | 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 | 141K | 1 | 2.3 | 24.2 | Apache-2.0 | 6 years ago | |
| phpmyadmin/sql-parser | 0.77 | — | 484 | 497 | 119 | 643K | 57 | 37.1 | 68.2 | GPL-2.0 | 9 months ago | |
| alexain/simple-spreadsheet-reader | 0.77 | — | 0 | 0 | 0 | 0 | 0 | 8.3 | — | MIT | 7 months ago | |
| microsoft/tolerant-php-parser | 0.77 | 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 | 85 | 187K | 54 | 23.3 | 51.8 | MIT | — | |
| akeneo/spreadsheet-parser-bundle | 0.76 | — | 4 | 4 | 1 | 0 | 0 | 0.7 | — | NOASSERTION | 12 years ago | |
| lstrojny/hmmmath | 0.76 | 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 | 6K | 0 | 0.3 | 35.2 | — | — |
How can I help you explore Laravel packages today?