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

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

ceopag/eloquence-mappable
=========================

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

5.6(8y ago)051MITPHPPHP &gt;=7.0.0

Since Oct 13Pushed 6y agoCompare

[ Source](https://github.com/ceopag/eloquence-mappable)[ Packagist](https://packagist.org/packages/ceopag/eloquence-mappable)[ RSS](/packages/ceopag-eloquence-mappable/feed)WikiDiscussions master Synced today

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

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

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 66.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 ~47 days

Total

4

Last Release

2989d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/58c07f5c4b1bf83113bbec50d06d5e7e289d61ee2f513c6948421a7f313935a5?d=identicon)[ceopag](/maintainers/ceopag)

---

Top Contributors

[![jarektkaczyk](https://avatars.githubusercontent.com/u/6928818?v=4)](https://github.com/jarektkaczyk "jarektkaczyk (4 commits)")[![heliopassarelin](https://avatars.githubusercontent.com/u/49026132?v=4)](https://github.com/heliopassarelin "heliopassarelin (1 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/ceopag-eloquence-mappable/health.svg)

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

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

511.4M5](/packages/sofa-eloquence-mappable)[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)[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)
