matex
PHP Mathematical expression parser and evaluator (by madorin)
php-smplang
simple expression language written in PHP that executes code in an isolated environment (by leongrdic)
matex | php-smplang | |
---|---|---|
1 | 2 | |
108 | 12 | |
- | - | |
10.0 | 2.5 | |
over 1 year ago | 6 months ago | |
PHP | PHP | |
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
matex
Posts with mentions or reviews of matex.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Help with "Formula-like" package
Don’t know about spreadsheet functions, but here’s a good package to achieve safe mathematical calculations using strings. You should be able to write your own classes using this https://github.com/madorin/matex
php-smplang
Posts with mentions or reviews of php-smplang.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-10.
-
simple expression language that doesn't use eval
thanks for the reply! im pretty new to this, so not really. you can take a peak at the source code (https://github.com/leongrdic/php-smplang/blob/master/src/SMPLang.php). it's pretty short and simple but I'd say parsing is pretty strict. I also think I've managed to make the exception message quite useful. let me know what you think if you manage to take a look!
What are some alternatives?
When comparing matex and php-smplang you can also consider the following projects:
PHP-Antimalware-Scanner - AMWScan (PHP Antimalware Scanner) is a free tool to scan php files and analyze your project to find any malicious code inside it.
sandbox - An online Tau Prolog sandbox