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

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

ortic/eloquence
===============

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

v5.4.2(9y ago)86.6k2MITPHPPHP &gt;=5.6.4

Since Mar 19Pushed 9y ago3 watchersCompare

[ Source](https://github.com/ortic/eloquence)[ Packagist](https://packagist.org/packages/ortic/eloquence)[ RSS](/packages/ortic-eloquence/feed)WikiDiscussions 5.4 Synced 2w ago

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

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

[](#sofaeloquence)

[![Build Status](https://camo.githubusercontent.com/2a3e16aa393ba95c90a629ede401960262f3661821c1617f6e3e9115914a9dae/68747470733a2f2f7472617669732d63692e6f72672f6f727469632f656c6f7175656e63652e737667)](https://travis-ci.org/ortic/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.4)](https://laravel.com/docs/5.4/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.3.\* -&gt; [5.3](https://github.com/jarektkaczyk/eloquence/tree/5.3) branch.
- 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

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 79.6% 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 ~17 days

Total

44

Last Release

3380d ago

Major Versions

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

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

v5.1PHP &gt;=5.5.9

v5.3PHP &gt;=5.6.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/9288570e91c034c82414fc2085a87344711e329feb063d21ab7b18ece811234e?d=identicon)[Remo](/maintainers/Remo)

---

Top Contributors

[![jarektkaczyk](https://avatars.githubusercontent.com/u/6928818?v=4)](https://github.com/jarektkaczyk "jarektkaczyk (82 commits)")[![Remo](https://avatars.githubusercontent.com/u/129864?v=4)](https://github.com/Remo "Remo (15 commits)")[![ebbbang](https://avatars.githubusercontent.com/u/4510786?v=4)](https://github.com/ebbbang "ebbbang (2 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/ortic-eloquence/health.svg)

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

###  Alternatives

[sofa/eloquence

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

1.1k1.5M11](/packages/sofa-eloquence)[sofa/eloquence-base

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

792.0M27](/packages/sofa-eloquence-base)[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)
