PHPackages                             ctdesarrollo-fbr/searches - 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. ctdesarrollo-fbr/searches

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

ctdesarrollo-fbr/searches
=========================

Perform searches with Eloquent models using an array-like API setup

0.1.0(1mo ago)129MITPHPPHP ^8.1

Since Jun 12Pushed 1mo agoCompare

[ Source](https://github.com/ctdesarrollo-fbr/eloquent-searches)[ Packagist](https://packagist.org/packages/ctdesarrollo-fbr/searches)[ Docs](https://github.com/ctdesarrollo-fbr/eloquent-searches)[ RSS](/packages/ctdesarrollo-fbr-searches/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (10)Versions (2)Used By (0)

Eloquent Searches
-----------------

[](#eloquent-searches)

Are you tired of write **if, where and join statements in all your search methods** as if tomorrow never comes, then this might be a solution for you!

Perform searches with Eloquent models using an array-like API setup.

*This library is just a query-builder translator, so in the end it uses exactly the same methods.*

- [Installation](#installation)
    - [Laravel](#laravel)
    - [Lumen](#lumen)
- [Configuration](#configuration)
- [Basic Usage](#basic-usage)
- [Where's](#wheres)
    - [Basic Usage](#basic-usage-2)
    - [Available operations](#available-operations)
- [Eloquent](#eloquent)
    - [Model Composition](#model-composition)
    - [Custom Where's](#custom-wheres-1)
- [Join Relationships](#relationships)
    - [Basic Usage](#basic-usage-3)
    - [Aliases](#aliases)
    - [Custom Where's](#custom-wheres-2)
- [Order By](#order-by)
    - [Basic Usage](#basic-usage-4)
    - [Multiple Columns](#order-many-columns)
- [Select](#select)
- [Eager Loading](#eager-loading)
- [Extending](#extending)
    - [Custom Join Types](#custom-joins)
    - [Custom Where's](#custom-wheres-3)
    - [IOC](#IOC)

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance90

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 79.1% 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

Unknown

Total

1

Last Release

46d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/293166356?v=4)[ctdesarrollofbr](/maintainers/ctdesarrollofbr)[@ctdesarrollofbr](https://github.com/ctdesarrollofbr)

---

Top Contributors

[![sloth-dev-guy](https://avatars.githubusercontent.com/u/111297586?v=4)](https://github.com/sloth-dev-guy "sloth-dev-guy (34 commits)")[![kytel0925](https://avatars.githubusercontent.com/u/10521924?v=4)](https://github.com/kytel0925 "kytel0925 (6 commits)")[![telmorafael](https://avatars.githubusercontent.com/u/10576167?v=4)](https://github.com/telmorafael "telmorafael (2 commits)")[![ctdesarrollofbr](https://avatars.githubusercontent.com/u/293166356?v=4)](https://github.com/ctdesarrollofbr "ctdesarrollofbr (1 commits)")

---

Tags

searchlaraveldatabasegeneratormodeleloquentquery builder

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ctdesarrollo-fbr-searches/health.svg)

```
[![Health](https://phpackages.com/badges/ctdesarrollo-fbr-searches/health.svg)](https://phpackages.com/packages/ctdesarrollo-fbr-searches)
```

###  Alternatives

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.4M99](/packages/mongodb-laravel-mongodb)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M348](/packages/psalm-plugin-laravel)[illuminate/database

The Illuminate Database package.

2.8k54.9M12.3k](/packages/illuminate-database)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M250](/packages/laravel-ai)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M134](/packages/roots-acorn)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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