Registry / utility / symfony-expression-language

symfony-expression-language

JSON →
library8.1.0phppackagistunverified

Provides an engine that can compile and evaluate expressions.

composer require symfony/expression-language
INSTALL
IMPORT
SIG · SYMFONY-EXPRESSION
S
symfony-expression-language
utilityphpv8.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ExpressionLanguage
use Symfony\Component\ExpressionLanguage\ExpressionLanguage;

Evaluates a simple arithmetic expression.

use Symfony\Component\ExpressionLanguage\ExpressionLanguage; $expressionLanguage = new ExpressionLanguage(); echo $expressionLanguage->evaluate('1 + 2');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
8.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
symfony-expression-language — pip install symfony-expression-language · libregistry