PHPackages                             curly-deni/laravel-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. curly-deni/laravel-eav

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

curly-deni/laravel-eav
======================

Eav For Artisan.

0.3.3(11mo ago)03MITPHP

Since Jun 6Pushed 11mo agoCompare

[ Source](https://github.com/curly-deni/laravel-eav)[ Packagist](https://packagist.org/packages/curly-deni/laravel-eav)[ RSS](/packages/curly-deni-laravel-eav/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (3)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

24

—

LowBetter than 32% of packages

Maintenance52

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor1

Top contributor holds 93.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 ~0 days

Total

2

Last Release

340d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f0de0a785e1bbcc02008355c771ba12b545c755b9935a40eb92233f0e5e9eea5?d=identicon)[curly-deni](/maintainers/curly-deni)

---

Top Contributors

[![sunel](https://avatars.githubusercontent.com/u/1009777?v=4)](https://github.com/sunel "sunel (125 commits)")[![Sarav-S](https://avatars.githubusercontent.com/u/3178230?v=4)](https://github.com/Sarav-S "Sarav-S (4 commits)")[![curly-deni](https://avatars.githubusercontent.com/u/64059451?v=4)](https://github.com/curly-deni "curly-deni (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)")[![zambodaniel](https://avatars.githubusercontent.com/u/3462880?v=4)](https://github.com/zambodaniel "zambodaniel (1 commits)")

---

Tags

laraveleav

### Embed Badge

![Health badge](/badges/curly-deni-laravel-eav/health.svg)

```
[![Health](https://phpackages.com/badges/curly-deni-laravel-eav/health.svg)](https://phpackages.com/packages/curly-deni-laravel-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)[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)
