PHPackages                             roi-up-agency/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. roi-up-agency/eav

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

roi-up-agency/eav
=================

Eav For Artisan.

0.1.1(6y ago)029MITPHPPHP &gt;=7.0.0

Since Sep 3Pushed 6y agoCompare

[ Source](https://github.com/roi-up-agency/eav)[ Packagist](https://packagist.org/packages/roi-up-agency/eav)[ RSS](/packages/roi-up-agency-eav/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (5)Versions (11)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

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.4% 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 ~51 days

Recently: every ~70 days

Total

10

Last Release

2342d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/52db86196e778f12e6aa5b8e4803052700bcf08dae3dfbb6ee957c4209fcb2e1?d=identicon)[jsolam](/maintainers/jsolam)

---

Top Contributors

[![sunel](https://avatars.githubusercontent.com/u/1009777?v=4)](https://github.com/sunel "sunel (114 commits)")[![Sarav-S](https://avatars.githubusercontent.com/u/3178230?v=4)](https://github.com/Sarav-S "Sarav-S (4 commits)")[![jsolam](https://avatars.githubusercontent.com/u/34037044?v=4)](https://github.com/jsolam "jsolam (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

laraveleav

### Embed Badge

![Health badge](/badges/roi-up-agency-eav/health.svg)

```
[![Health](https://phpackages.com/badges/roi-up-agency-eav/health.svg)](https://phpackages.com/packages/roi-up-agency-eav)
```

###  Alternatives

[barryvdh/laravel-ide-helper

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

14.9k123.0M683](/packages/barryvdh-laravel-ide-helper)[sunel/eav

Eav For Artisan.

1533.6k1](/packages/sunel-eav)[matt-daneshvar/laravel-survey

Create surveys inside your Laravel app

28770.3k](/packages/matt-daneshvar-laravel-survey)[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)
