Expression Engine is a small, fast expression language for evaluating dynamic values against structured data in PHP and Laravel apps. It's built for low-code surfaces - workflow automations, dynamic forms, templated configuration - where you want spreadsheet- or Zapier-style formulas embedded directly in your application.
Expressions are wrapped in {{...}} syntax inside strings, or evaluated directly, and real typed values are preserved - integers, arrays, booleans - rather than collapsing everything to strings. It supports dot-path navigation with safe (?.) and null-coalescing (??) operators, chainable methods on strings, numbers, arrays, and dates, and list operations like filter(), map(), sort(), groupBy(), any(), and every(), plus full arithmetic, comparison, logical, and ternary operators.
Beyond single expressions, it handles multi-line code blocks with state via set() and get(), template interpolation through resolve(), and an extensible architecture for registering custom functions and methods. An introspection API supports building autocomplete, and an interactive REPL (php artisan expression:playground) lets you explore expressions against live context.
Installed via Composer with Laravel service-provider auto-discovery, tested with PHPUnit, and MIT-licensed.
Expressions preserve real PHP types - integers, arrays, booleans - instead of collapsing everything to strings, so results stay usable downstream without re-parsing.