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

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

ogestor/eloquence-mappable
==========================

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

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

Since Oct 13Pushed 5y agoCompare

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

READMEChangelog (1)Dependencies (4)Versions (7)Used By (1)

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

[](#sofaeloquence)

[![Build Status](https://camo.githubusercontent.com/ad4b9894d1900d6d5916ea628df52ad855f89a2a981059a0ba619db4b874a523/68747470733a2f2f7472617669732d63692e6f72672f6a6172656b746b61637a796b2f656c6f7175656e63652d6d61707061626c652e737667)](https://travis-ci.org/jarektkaczyk/eloquence-mappable) [![Coverage Status](https://camo.githubusercontent.com/efe28b88426907d5a05e2e2c4ee5b341774ca16619e5f7f63e56a83f8afca3e1/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6a6172656b746b61637a796b2f656c6f7175656e63652d6d61707061626c652f62616467652e737667)](https://coveralls.io/r/jarektkaczyk/eloquence-mappable) [![Code Quality](https://camo.githubusercontent.com/f0cafa247006fe49785e9287c5ed4ed9b550c4c239093c74c90c73cba3613d6a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6172656b746b61637a796b2f656c6f7175656e63652d6d61707061626c652f6261646765732f7175616c6974792d73636f72652e706e67)](https://scrutinizer-ci.com/g/jarektkaczyk/eloquence-mappable) [![Downloads](https://camo.githubusercontent.com/829af64d556cb0968aa49a4b0c2610104c8294aba8ba475213a1f3c861d0afd1/68747470733a2f2f706f7365722e707567782e6f72672f736f66612f656c6f7175656e63652d6d61707061626c652f646f776e6c6f616473)](https://packagist.org/packages/sofa/eloquence-mappable) [![stable](https://camo.githubusercontent.com/130093304708249a2eb3e967a1c9fe2b93652b695d61380d363a0b5fdbb1120d/68747470733a2f2f706f7365722e707567782e6f72672f736f66612f656c6f7175656e63652d6d61707061626c652f762f737461626c652e737667)](https://packagist.org/packages/sofa/eloquence-mappable)

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

Installation
------------

[](#installation)

```
composer require sofa/eloquence-mappable
```

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

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

```
composer test
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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 ~228 days

Recently: every ~285 days

Total

6

Last Release

1990d ago

Major Versions

5.6 → 6.02020-11-26

### 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 (4 commits)")[![jleeothon](https://avatars.githubusercontent.com/u/6202537?v=4)](https://github.com/jleeothon "jleeothon (1 commits)")

---

Tags

laraveleloquentsearchablemappablemetablemutable

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

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