PHPackages                             psuw/expression-evaluator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. psuw/expression-evaluator

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

psuw/expression-evaluator
=========================

Expression Language expression evaluator

1.3.1(1y ago)01.6k↓50%MITPHPPHP &gt;=7.0

Since Apr 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/PawelSuwinski/expression-evaluator)[ Packagist](https://packagist.org/packages/psuw/expression-evaluator)[ RSS](/packages/psuw-expression-evaluator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (2)Versions (7)Used By (0)

README
======

[](#readme)

This file is part of the PsuwExpressionEvaluator package.

```
@package PsuwExpressionEvaluator
@copyright Copyright (c) 2019, Paweł Suwiński
@author Paweł Suwiński
@license MIT

```

Example of usage
----------------

[](#example-of-usage)

```
# config.yml

services:
# (...)
    # Adds secure headers to every response.
    secure_headers_response:
        class: Psuw\ExpressionEvaluator\Evaluator
        arguments:
            - 'arg0.getResponse().headers.add(headers)'
            -
                headers:
                  X-Frame-Options: SAMEORIGIN
                  X-XSS-Protection: '1; mode=block'
                  X-Content-Type-Options: nosniff
                  Referrer-Policy: same-origin
        tags: [{ name: kernel.event_listener, event: kernel.response, method: __invoke }]

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance42

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~203 days

Recently: every ~254 days

Total

6

Last Release

468d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1f97eb6342e07115fbad8a50e4f6e0777d6fc31374e81bf303ad9aec66f6536f?d=identicon)[dracono@wp.pl](/maintainers/dracono@wp.pl)

---

Top Contributors

[![PawelSuwinski](https://avatars.githubusercontent.com/u/1256986?v=4)](https://github.com/PawelSuwinski "PawelSuwinski (18 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/psuw-expression-evaluator/health.svg)

```
[![Health](https://phpackages.com/badges/psuw-expression-evaluator/health.svg)](https://phpackages.com/packages/psuw-expression-evaluator)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[winzou/state-machine

A very lightweight yet powerful PHP state machine

52113.7M18](/packages/winzou-state-machine)[psalm/plugin-symfony

Psalm Plugin for Symfony

24013.8M185](/packages/psalm-plugin-symfony)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

52664.9k12](/packages/solspace-craft-freeform)[gpslab/geoip2

A Symfony Bundle for the Maxmind GeoIP2 API

541.5M3](/packages/gpslab-geoip2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
