PHPackages                             l-commerce/module-eav - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. l-commerce/module-eav

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

l-commerce/module-eav
=====================

Eav For Artisan.

0.2.0(7y ago)016MITPHPPHP &gt;=7.0.0

Since Sep 3Pushed 7y agoCompare

[ Source](https://github.com/l-commerce/module-eav)[ Packagist](https://packagist.org/packages/l-commerce/module-eav)[ RSS](/packages/l-commerce-module-eav/feed)WikiDiscussions master Synced 3d ago

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

> WIP

[![EAV](https://camo.githubusercontent.com/1ebdb4679bf53107e914eac37145849435013a910db492298bfb7523add8ae76/68747470733a2f2f692e696d6775722e636f6d2f466d46515838452e706e67)](https://camo.githubusercontent.com/1ebdb4679bf53107e914eac37145849435013a910db492298bfb7523add8ae76/68747470733a2f2f692e696d6775722e636f6d2f466d46515838452e706e67)

Entity–attribute–value model (EAV) is a data model to encode, in a space-efficient manner, entities where the number of attributes (properties, parameters) that can be used to describe them is potentially vast, but the number that will actually apply to a given entity is relatively modest.

> [wikipedia](https://en.wikipedia.org/wiki/Entity%E2%80%93attribute%E2%80%93value_model)

Documentation
-------------

[](#documentation)

[EAV Documentation](https://sunel.github.io/eav/)

When to Use
-----------

[](#when-to-use)

- Let us consider a situation where a number of different attributes can be used to describe an entity, but only few attributes actually apply to each one. One option is to create a table with a column representing each attribute; this is suitable for entity with a fixed number of attributes, where all or most attributes have values for a most objects. However, in our case we would end up with records where **majority of columns would be empty**, because attributes may be unknown or inapplicable. To solve the above problem you can apply the EAV (Entity, Attribute, Value) model.
- Have a loose schema that is likely to change over time. Table holding attributes describing an entity is not limited to a specific number of columns, meaning that it doesn't require a schema redesign every time new attribute needs to be introduced. The number of attributes can grow vertically as the database evolves, without the need for structure changes.

Limitation of EAV
-----------------

[](#limitation-of-eav)

- In EAV model the entity data is more fragmented and so selecting an entire entity record requires multiple table joins. [Please Check this ](https://sunel.github.io/eav/master/ideology/flat-table.html)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% 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 ~37 days

Total

3

Last Release

2737d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/79e0727f62b23c67e2db1b68abff7adcd1265399d124dfb7cfb27404b9e97f18?d=identicon)[ruthger92](/maintainers/ruthger92)

---

Top Contributors

[![sunel](https://avatars.githubusercontent.com/u/1009777?v=4)](https://github.com/sunel "sunel (96 commits)")[![Sarav-S](https://avatars.githubusercontent.com/u/3178230?v=4)](https://github.com/Sarav-S "Sarav-S (4 commits)")[![ruthgeridema](https://avatars.githubusercontent.com/u/13556910?v=4)](https://github.com/ruthgeridema "ruthgeridema (2 commits)")[![CraigHarley](https://avatars.githubusercontent.com/u/8432365?v=4)](https://github.com/CraigHarley "CraigHarley (1 commits)")[![sinamiandashti](https://avatars.githubusercontent.com/u/195868?v=4)](https://github.com/sinamiandashti "sinamiandashti (1 commits)")

---

Tags

laraveleavl-commerce

### Embed Badge

![Health badge](/badges/l-commerce-module-eav/health.svg)

```
[![Health](https://phpackages.com/badges/l-commerce-module-eav/health.svg)](https://phpackages.com/packages/l-commerce-module-eav)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[matt-daneshvar/laravel-survey

Create surveys inside your Laravel app

28770.3k](/packages/matt-daneshvar-laravel-survey)[sunel/eav

Eav For Artisan.

1533.6k1](/packages/sunel-eav)[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[vanilo/properties

Vanilo Properties (Attributes) Module

11105.2k2](/packages/vanilo-properties)[glhd/special

1929.4k](/packages/glhd-special)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
