langleyfoxall/math_eval
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| interop-phpobjects/polite-math | 0.82 | — | 1 | 1 | 0 | 14K | 0 | 2.4 | 53.0 | MIT | 2 years ago | |
| leongrdic/smplang | 0.81 | 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 | |
| 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 | — | |
| moontoast/math | 0.81 | 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 | |
| phpseclib/bcmath_compat | 0.81 | BCMath compatibility layer for PHP environments without the bcmath extension. Provides drop-in function replacements used by phpseclib, helping big integer and cryptography features work consistently across shared hosts, minimal installs, and varied PHP builds. | 167 | 168 | 6 | 241K | 0 | 5.3 | 43.8 | MIT | 1 year ago | |
| ardiakov/string-stack-calc | 0.80 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 6 years ago | |
| open-southeners/extended-php | 0.80 | Extended PHP helpers for modern apps: adds convenient functions, utilities, and small enhancements that complement core PHP to reduce boilerplate and speed up everyday development. Lightweight, easy to drop into existing projects. | 0 | 0 | 0 | 750 | 0 | 12.2 | 41.5 | MIT | 9 months ago | |
| avtonom/mathielen-import-engine-bundle | 0.80 | — | 1 | 2 | 0 | 0 | 0 | 0.0 | — | — | — | |
| zendframework/zend-math | 0.80 | Zend Math provides math utilities for PHP, including big integer/decimal support, random number generation, and statistical helpers. Part of the Zend Framework ecosystem, it offers consistent, tested components for numeric operations. | 53 | 56 | 23 | 31K | 1 | 1.6 | 26.9 | BSD-3-Clause | 7 years ago | |
| lstrojny/hmmmath | 0.79 | 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 | — | — | |
| mesilov/moneyphp-percentage | 0.79 | Tiny PHP helper for applying percentage calculations to MoneyPHP money values. Useful for discounts, taxes, fees, commissions, and proportional splits while keeping monetary amounts precise and reusable across your app. | 2 | 2 | 0 | 9K | 0 | 0.6 | 46.5 | MIT | 2 years ago | |
| rindow/rindow-matlib-ffi | 0.78 | — | 0 | 0 | 1 | 12K | 0 | 2.1 | 55.3 | BSD-3-Clause | 1 year ago | |
| brick/math | 0.78 | Arbitrary-precision math for PHP. Work with big integers, decimals, and rational numbers via a clean OOP API. Optimized with GMP or BCMath when available, with automatic runtime selection. Requires PHP 8.2+ (older versions available). | 2,156 | 2,170 | 100 | 14M | 0 | 45.4 | 62.1 | MIT | 6 days ago | |
| edemy/mathbundle | 0.78 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| sylius/calendar | 0.77 | Sylius Calendar Component provides date handling utilities for PHP applications. A lightweight package for working with dates and related calendar concerns in your project. | 9 | 9 | 8 | 53K | 1 | 1.1 | 51.4 | — | 3 years ago | |
| php-standard-library/math | 0.76 | 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 | 17.7 | 63.2 | MIT | 2 months ago | |
| mossadal/math-parser | 0.76 | 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 | 41 | 43K | 9 | 5.0 | 36.2 | LGPL-3.0 | — | |
| jasonmccreary/laravel-test-assertions | 0.76 | Adds a trait of extra PHPUnit assertions for Laravel testing. Confirm controllers/actions and named routes use specific FormRequest validation or middleware, compare validation rules (subset or exact), check rule instances, and assert view data is explicitly null. | 351 | 351 | 36 | 131K | 2 | 23.6 | 39.7 | — | 4 months ago | |
| phpoffice/math | 0.76 | 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. | 32 | 31 | 5 | 1M | 0 | 1.3 | 55.3 | MIT | 1 year ago | |
| phpunit/php-code-coverage | 0.75 | phpunit/php-code-coverage collects, processes, and renders PHP code coverage data. Integrate it in test runs to start/stop coverage collection, filter included files, and generate reports such as OpenClover, including from serialized coverage data. | 8,933 | 8,977 | 385 | 14M | 5 | 72.9 | 54.2 | BSD-3-Clause | 6 days ago |
How can I help you explore Laravel packages today?