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

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

wargog/eloquence-mappable
=========================

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

6.0.0(2y ago)018MITPHPPHP &gt;=8.0

Since Jun 6Pushed 2y agoCompare

[ Source](https://github.com/Wargog/eloquence-mappable)[ Packagist](https://packagist.org/packages/wargog/eloquence-mappable)[ Fund](https://softonsofa.com)[ GitHub Sponsors](https://github.com/jarektkaczyk)[ RSS](/packages/wargog-eloquence-mappable/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

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

[](#sofaeloquence)

[![GitHub Tests Action Status](https://github.com/jarektkaczyk/eloquence-mappable/workflows/Tests/badge.svg)](https://github.com/jarektkaczyk/eloquence-mappable/actions?query=workflow%3Atests+branch%3Amaster) [![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).

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

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1077d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4f984eeadcab7656d27d1e1a5030862f3ce700cbd0d38f8278c10ddfe8c03e1a?d=identicon)[Wargog](/maintainers/Wargog)

---

Top Contributors

[![jarektkaczyk](https://avatars.githubusercontent.com/u/6928818?v=4)](https://github.com/jarektkaczyk "jarektkaczyk (12 commits)")[![jleeothon](https://avatars.githubusercontent.com/u/6202537?v=4)](https://github.com/jleeothon "jleeothon (1 commits)")[![pch-rluna](https://avatars.githubusercontent.com/u/24482572?v=4)](https://github.com/pch-rluna "pch-rluna (1 commits)")[![Wargog](https://avatars.githubusercontent.com/u/5117696?v=4)](https://github.com/Wargog "Wargog (1 commits)")

---

Tags

laraveleloquentsearchablemappablemetablemutable

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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