PHPackages                             vaened/php-criteria-language - 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. vaened/php-criteria-language

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

vaened/php-criteria-language
============================

v0.2(1y ago)1111.3k—0.6%MITPHPPHP ^8.2

Since May 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/vaened/php-criteria-language)[ Packagist](https://packagist.org/packages/vaened/php-criteria-language)[ RSS](/packages/vaened-php-criteria-language/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (3)Used By (0)

Php Criteria Language
=====================

[](#php-criteria-language)

Build criteria based on a string of characters

```
composer require vaened/php-criteria-language
```

**this**

```
[author]=enea% &
[created]={2020, 202306} &
[languages]=[PHP, JAVA]&
[visibility]=![private, archived] &

```

**becomes**

```
Statements::of([
    Statement::that('author', FilterOperator::StartsWith, 'enea'),
    Statement::that('created', FilterOperator::Between, [
        new DateTimeImmutable('2020-01-01'),
        new DateTimeImmutable('2023-06-30T23:59:59.999999')
    ]),
    Statement::that('languages', FilterOperator::In, ['PHP', 'JAVA']),
    Statement::that('visibility', FilterOperator::NotIn, ['private', 'archived']),
]);
```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity33

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 ~581 days

Total

2

Last Release

520d ago

PHP version history (2 changes)v0.1PHP ^8.1

v0.2PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/ebfa2dc9bcd9f9f7cea1f5473811d3c3904f60716e5605ab0d7208a9a6b81f09?d=identicon)[vaened](/maintainers/vaened)

---

Top Contributors

[![vaened](https://avatars.githubusercontent.com/u/15077850?v=4)](https://github.com/vaened "vaened (21 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vaened-php-criteria-language/health.svg)

```
[![Health](https://phpackages.com/badges/vaened-php-criteria-language/health.svg)](https://phpackages.com/packages/vaened-php-criteria-language)
```

PHPackages © 2026

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