Download the PHP package sinevia/laravel-entity without Composer
On this page you can find all versions of the php package sinevia/laravel-entity. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-entity
Laravel Entity
Cool schemaless models for Laravel.
Details
A streamlined entity-attribute-value (EAV) implementation for Laravel. This package is designed for quick plug and play "schemeless" prototyping. To achieve this the package uses only two database tables unlike the standard EAV (which uses at least three tables).
Features
- Schemaless implementation with 2 database tables only.
- Entitiies have types. Each type is like a class (i.e. note, category, etc)
- Entitiies may have unlimited fields. Fields can have any value (string, int, float, array)
- Entitiies may have hierarchy (parent and children). Great when you have categories, or paths
- Ideal for quick prototyping
- Uses human friendly IDs (see https://github.com/Sinevia/php-library-uid)
Installation
How to Use
Table Schema
The following schema is used for the database.
Entity | |
---|---|
Id | String, UniqueId |
Status | String |
Type | String |
ParentId | String, UniqueId |
Sequence | Integer |
Name | String |
CreatedAt | DateTime |
DeletedAt | DateTime |
Udated At | DateTime |
Field | |
---|---|
Id | String, UniqueId |
EntityId | String, UniqueId |
Key | String |
Value | JSON Text (Long) |
CreatedAt | DateTime |
DeletedAt | DateTime |
UpdatedAt | DateTime |
All versions of laravel-entity with dependencies
PHP Build Version
Package Version
Requires
php Version
~5.6|~7.0|~8.0|~8.1
The package sinevia/laravel-entity contains the following files
Loading the files please wait ....