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

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

ogestor/eloquence-mutable
=========================

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

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

Since Oct 13Pushed 5y agoCompare

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

READMEChangelog (1)Dependencies (4)Versions (9)Used By (2)

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

[](#sofaeloquence)

[![Build Status](https://camo.githubusercontent.com/760f6146808ca61911b5756e338af11ff840ca2e1b10b9d4cd33a19cd8e7a4b0/68747470733a2f2f7472617669732d63692e6f72672f6a6172656b746b61637a796b2f656c6f7175656e63652d6d757461626c652e737667)](https://travis-ci.org/jarektkaczyk/eloquence-mutable) [![Coverage Status](https://camo.githubusercontent.com/0fd5d466a61e08a4662f051d47953d85548d3d68e2d5ed833e73f9d2e6e5d38b/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6a6172656b746b61637a796b2f656c6f7175656e63652d6d757461626c652f62616467652e737667)](https://coveralls.io/r/jarektkaczyk/eloquence-mutable) [![Code Quality](https://camo.githubusercontent.com/90f618671e9bd7bedaa391aa4f189857f7c7a9fa7d9980a40aaaedaa25d3e35f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6172656b746b61637a796b2f656c6f7175656e63652d6d757461626c652f6261646765732f7175616c6974792d73636f72652e706e67)](https://scrutinizer-ci.com/g/jarektkaczyk/eloquence-mutable) [![Downloads](https://camo.githubusercontent.com/248f88af128ebd43ab50607b9c1887ad1da77fbc8e4af0bdbf252ea6cf70094c/68747470733a2f2f706f7365722e707567782e6f72672f736f66612f656c6f7175656e63652d6d757461626c652f646f776e6c6f616473)](https://packagist.org/packages/sofa/eloquence-mutable) [![stable](https://camo.githubusercontent.com/b674c450acb462eb658f9601e002628b4ecf147535e0b3339a2cdc93a60ede49/68747470733a2f2f706f7365722e707567782e6f72672f736f66612f656c6f7175656e63652d6d757461626c652f762f737461626c652e737667)](https://packagist.org/packages/sofa/eloquence-mutable)

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-mutable
```

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

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 55.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 ~163 days

Recently: every ~250 days

Total

8

Last Release

1989d ago

Major Versions

5.6.2 → 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 (5 commits)")[![bionicmaster](https://avatars.githubusercontent.com/u/312215?v=4)](https://github.com/bionicmaster "bionicmaster (3 commits)")[![ragingdave](https://avatars.githubusercontent.com/u/1168344?v=4)](https://github.com/ragingdave "ragingdave (1 commits)")

---

Tags

laraveleloquentsearchablemappablemetablemutable

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

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