PHPackages                             ogestor/eloquence - 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. ogestor/eloquence

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

ogestor/eloquence
=================

Flexible Searchable, Mappable, Metable, Validation and more extensions for Laravel Eloquent ORM.

6.0(5y ago)01061MITPHPPHP &gt;=7.0.0

Since Mar 19Pushed 5y agoCompare

[ Source](https://github.com/ogestor/eloquence)[ Packagist](https://packagist.org/packages/ogestor/eloquence)[ RSS](/packages/ogestor-eloquence/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (8)Versions (51)Used By (0)

Sofa/Eloquence
==============

[](#sofaeloquence)

[![Build Status](https://camo.githubusercontent.com/877e356b8f8e7849cdd3170ac795751934ba17916f4af0fa3ed44f12d793ba99/68747470733a2f2f7472617669732d63692e6f72672f6a6172656b746b61637a796b2f656c6f7175656e63652e737667)](https://travis-ci.org/jarektkaczyk/eloquence) [![Downloads](https://camo.githubusercontent.com/439f01e25f2abec9e9e3152851fbabe69b939053455f5d435751836c30bf9f68/68747470733a2f2f706f7365722e707567782e6f72672f736f66612f656c6f7175656e63652f646f776e6c6f616473)](https://packagist.org/packages/sofa/eloquence) [![stable](https://camo.githubusercontent.com/d2d9dcabac8c88f0f60ff013097c8a6cce86e2d44230f88ce4a73074732d0efc/68747470733a2f2f706f7365722e707567782e6f72672f736f66612f656c6f7175656e63652f762f737461626c652e737667)](https://packagist.org/packages/sofa/eloquence)

Easy and flexible extensions for the [Eloquent ORM](https://laravel.com/docs/eloquent).

**If I'm saving you some time with my work, you can back me up on [Patreon page](https://patreon.com/jarektkaczyk).**

Currently available extensions:

1. [Searchable](https://github.com/jarektkaczyk/eloquence-base) query - crazy-simple fulltext search through any related model
2. [Validable](https://github.com/jarektkaczyk/eloquence-validable) - self-validating models
3. [Mappable](https://github.com/jarektkaczyk/eloquence-mappable) -map attributes to table fields and/or related models
4. [Metable](https://github.com/jarektkaczyk/eloquence-metable) - meta attributes made easy
5. [Mutable](https://github.com/jarektkaczyk/eloquence-mutable) - flexible attribute get/set mutators with quick setup
6. [Mutator](https://github.com/jarektkaczyk/eloquence-mutable) - pipe-based mutating

By installing this package you get aforementioned extensions. Alternatively you can pull just single extension:

```
# get all extensions
composer require sofa/eloquence

# get single extension, eg. Metable
composer require sofa/eloquence-metable
```

**Check the [documentation](https://github.com/jarektkaczyk/eloquence/wiki) for installation and usage info, [website](http://softonsofa.com/tag/eloquence/) for examples and [API reference](http://jarektkaczyk.github.io/eloquence-api)**

Contribution
------------

[](#contribution)

Shout out to all the Contributors!

All contributions are welcome, PRs must be **tested** and **PSR-2 compliant** - refer to particular extension repository.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 90.7% 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 ~42 days

Recently: every ~250 days

Total

50

Last Release

1989d ago

Major Versions

0.4.x-dev → v5.12015-07-18

5.3.x-dev → 6.0.x-dev2020-11-26

PHP version history (4 changes)v0.1PHP &gt;=5.4

v5.1PHP &gt;=5.5.9

v5.3PHP &gt;=5.6.4

v5.5PHP &gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c8c9cf1e0ca736e0fc81ccedf7a1cf039821f9aaacfa93a6b9fcab6076e27b2?d=identicon)[ogestor](/maintainers/ogestor)

---

Top Contributors

[![jarektkaczyk](https://avatars.githubusercontent.com/u/6928818?v=4)](https://github.com/jarektkaczyk "jarektkaczyk (97 commits)")[![felipe-ogestor](https://avatars.githubusercontent.com/u/50678692?v=4)](https://github.com/felipe-ogestor "felipe-ogestor (2 commits)")[![maltsev](https://avatars.githubusercontent.com/u/923973?v=4)](https://github.com/maltsev "maltsev (2 commits)")[![salkhwlani](https://avatars.githubusercontent.com/u/10876587?v=4)](https://github.com/salkhwlani "salkhwlani (2 commits)")[![uniconstructor](https://avatars.githubusercontent.com/u/1384545?v=4)](https://github.com/uniconstructor "uniconstructor (1 commits)")[![itsjavi](https://avatars.githubusercontent.com/u/122741?v=4)](https://github.com/itsjavi "itsjavi (1 commits)")[![ksdev-pl](https://avatars.githubusercontent.com/u/4216259?v=4)](https://github.com/ksdev-pl "ksdev-pl (1 commits)")[![django23](https://avatars.githubusercontent.com/u/827397?v=4)](https://github.com/django23 "django23 (1 commits)")

---

Tags

laraveleloquentsearchablemappablemetablemutable

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/ogestor-eloquence/health.svg)

```
[![Health](https://phpackages.com/badges/ogestor-eloquence/health.svg)](https://phpackages.com/packages/ogestor-eloquence)
```

###  Alternatives

[sofa/eloquence

Flexible Searchable, Mappable, Metable, Validation and more extensions for Laravel Eloquent ORM.

1.1k1.5M10](/packages/sofa-eloquence)[sofa/eloquence-metable

Flexible Searchable, Mappable, Metable, Validation and more extensions for Laravel Eloquent ORM.

321.3M9](/packages/sofa-eloquence-metable)[sofa/eloquence-mutable

Flexible Searchable, Mappable, Metable, Validation and more extensions for Laravel Eloquent ORM.

261.3M8](/packages/sofa-eloquence-mutable)

PHPackages © 2026

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