PHPackages                             codelytv/criteria-to-eloquent - 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. [Database &amp; ORM](/categories/database)
4. /
5. codelytv/criteria-to-eloquent

ActiveLibrary[Database &amp; ORM](/categories/database)

codelytv/criteria-to-eloquent
=============================

0.1.3(1y ago)22.3k11PHPPHP ^8.2

Since Aug 5Pushed 1y ago2 watchersCompare

[ Source](https://github.com/CodelyTV/php-criteria-to_eloquent)[ Packagist](https://packagist.org/packages/codelytv/criteria-to-eloquent)[ RSS](/packages/codelytv-criteria-to-eloquent/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (8)Used By (1)

 [    ![Codely logo](https://camo.githubusercontent.com/c1f65beb72f6457edf01a833da681b2ac4da31e376f4436f676de954ab69498d/68747470733a2f2f636f64656c792e636f6d2f6c6f676f2f636f64656c795f6c6f676f2e737667)  ](https://codely.com)

 🎼 Criteria to Eloquent
========================

[](#---criteria-to-eloquent)

🔒 Read-only repository
======================

[](#-read-only-repository)

Any modification must be done in the [main repository](https://github.com/CodelyTV/php-criteria).

📥 Installation
--------------

[](#-installation)

```
composer require codelytv/criteria-to-eloquent
```

💻 Usage
-------

[](#-usage)

There are two ways to use this package.

Classic way:

```
$toConverter = new CriteriaToEloquentConverter();
$users = $toConverter->applyCriteria(User::query(), $criteria)->get();
```

Laravel way:

```
$users = CriteriaToEloquentConverter::convert(User::query(), $criteria)->get();
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity47

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

Total

7

Last Release

643d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1e1b70b2476930e7a394a09d09ee2eea487514acb4dbda6d4dc8b1da2caa607f?d=identicon)[rgomezcasas](/maintainers/rgomezcasas)

---

Top Contributors

[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (7 commits)")

### Embed Badge

![Health badge](/badges/codelytv-criteria-to-eloquent/health.svg)

```
[![Health](https://phpackages.com/badges/codelytv-criteria-to-eloquent/health.svg)](https://phpackages.com/packages/codelytv-criteria-to-eloquent)
```

###  Alternatives

[owen-it/laravel-auditing

Audit changes of your Eloquent models in Laravel

3.4k33.0M95](/packages/owen-it-laravel-auditing)[staudenmeir/eloquent-json-relations

Laravel Eloquent relationships with JSON keys

1.1k5.8M24](/packages/staudenmeir-eloquent-json-relations)[bavix/laravel-wallet

It's easy to work with a virtual wallet.

1.3k1.1M11](/packages/bavix-laravel-wallet)[dragon-code/migrate-db

Easy data transfer from one database to another

15717.4k](/packages/dragon-code-migrate-db)[gearbox-solutions/eloquent-filemaker

A package for getting FileMaker records as Eloquent models in Laravel

6454.8k2](/packages/gearbox-solutions-eloquent-filemaker)[cybercog/laravel-ownership

Laravel Ownership simplify management of Eloquent model's owner.

9126.6k3](/packages/cybercog-laravel-ownership)

PHPackages © 2026

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