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

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

latik/eloquence
===============

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

v5.5.1(8y ago)0296MITPHPPHP &gt;=7.0.0

Since Mar 19Pushed 8y agoCompare

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

READMEChangelogDependencies (8)Versions (42)Used By (0)

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

[](#sofaeloquence)

[![Build Status](https://camo.githubusercontent.com/877e356b8f8e7849cdd3170ac795751934ba17916f4af0fa3ed44f12d793ba99/68747470733a2f2f7472617669732d63692e6f72672f6a6172656b746b61637a796b2f656c6f7175656e63652e737667)](https://travis-ci.org/jarektkaczyk/eloquence) [![Coverage Status](https://camo.githubusercontent.com/d4ecb5ca9689d1068e251d4e47fc2ce715cca1ee46da17c2773fba265dae2982/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6a6172656b746b61637a796b2f656c6f7175656e63652f62616467652e737667)](https://coveralls.io/r/jarektkaczyk/eloquence) [![Code Quality](https://camo.githubusercontent.com/966c9e064ec23fe112843c9a8ef675f8740bbe3b653b58ecb3598ca38c703eca/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6172656b746b61637a796b2f656c6f7175656e63652f6261646765732f7175616c6974792d73636f72652e706e67)](https://scrutinizer-ci.com/g/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 (Laravel 5.3)](https://laravel.com/docs/5.3/eloquent).

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

For older versions of Illuminate/Laravel please use:

- 5.2.\* -&gt; [5.2](https://github.com/jarektkaczyk/eloquence/tree/5.2) branch.
- 5.1.\* -&gt; [5.1](https://github.com/jarektkaczyk/eloquence/tree/5.1) branch.
- 5.0.\* -&gt; [0.4](https://github.com/jarektkaczyk/eloquence/tree/0.4) branch.

Currently available extensions:

1. `Searchable` query - crazy-simple fulltext search through any related model (based on  only written from scratch &amp; greatly improved)
2. `Validable` - self-validating models
3. `Mappable` -map attributes to table fields and/or related models
4. `Metable` - meta attributes made easy
5. `Mutable` - flexible attribute get/set mutators with quick setup (with help of [Romain Lanz](https://github.com/RomainLanz))
6. `Mutator` - pipe-based mutating

**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)

All contributions are welcome, PRs must be **tested** and **PSR-2 compliant**.

To validate your builds before committing use the following composer command:

```
composer test
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 95.3% 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 ~23 days

Recently: every ~64 days

Total

41

Last Release

3135d ago

Major Versions

v0.4.14 → v5.12015-07-18

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/5222cb1e2c12d549f42a50b36cfe882b81f244b113c2a8d249334ee6aab8cd3a?d=identicon)[latik](/maintainers/latik)

---

Top Contributors

[![jarektkaczyk](https://avatars.githubusercontent.com/u/6928818?v=4)](https://github.com/jarektkaczyk "jarektkaczyk (82 commits)")[![maltsev](https://avatars.githubusercontent.com/u/923973?v=4)](https://github.com/maltsev "maltsev (2 commits)")[![django23](https://avatars.githubusercontent.com/u/827397?v=4)](https://github.com/django23 "django23 (1 commits)")[![ksdev-pl](https://avatars.githubusercontent.com/u/4216259?v=4)](https://github.com/ksdev-pl "ksdev-pl (1 commits)")

---

Tags

laraveleloquentsearchablemappablemetablemutable

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/latik-eloquence/health.svg)](https://phpackages.com/packages/latik-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-mappable

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

511.4M5](/packages/sofa-eloquence-mappable)[sofa/eloquence-mutable

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

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

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

231.1M5](/packages/sofa-eloquence-validable)

PHPackages © 2026

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