Skip to content

Latest commit

 

History

History
 
 

EAV

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

The Entity–attribute–value (EAV) pattern in order to implement EAV model with PHP.

Purpose

The Entity–attribute–value (EAV) model is a data model to describe 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.

UML Diagram

EAV UML Diagram

Code

You can also find this code on GitHub

Entity.php

Entity.php

Attribute.php

Attribute.php

Value.php

Value.php

Test

Tests/EAVTest.php

Tests/EAVTest.php