php-smplang
simple expression language written in PHP that executes code in an isolated environment (by leongrdic)
matex
PHP Mathematical expression parser and evaluator (by madorin)
php-smplang | matex | |
---|---|---|
2 | 1 | |
12 | 108 | |
- | - | |
2.5 | 10.0 | |
6 months ago | over 1 year 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.
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!
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
What are some alternatives?
When comparing php-smplang and matex you can also consider the following projects:
sandbox - An online Tau Prolog sandbox
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.