padam87 / attribute-bundle
Padam87 AttributeBundle
Installs: 13 522
Dependents: 0
Suggesters: 0
Security: 0
Stars: 24
Watchers: 2
Forks: 14
Open Issues: 7
Type:symfony-bundle
Requires
- php: >=5.4.0
- doctrine/doctrine-bundle: *
- doctrine/orm: *
- symfony/symfony: ~2.5
Requires (Dev)
- matthiasnoback/symfony-dependency-injection-test: ~0.7.1
- mockery/mockery: ~0.9
- phpunit/phpunit: ~4.2
- satooshi/php-coveralls: dev-master
Suggests
- padam87/search-bundle: For easy searching in attributes
This package is auto-updated.
Last update: 2022-02-01 12:22:30 UTC
README
DEPRECATED
Please don't use this bundle in a production environment. Years ago, when I created this bundle EAV was a good choice to store data which had a loose schema in SQL. Nowdays we have all kinds of schema less storage options which are better suited for this job.
If you absolutely have to use SQL, EAV can still help you, and this bundle should be able to inspire you.
Padam87AttributeBundle
An EAV implementation for Symfony2.
The purpose of this bundle is to allow users to create custom fields for entities.
Custom fields can be unique per row in the DB, or can be related to an entity itself.
Usage with Schema: Custom fields are related to the entity. When the schema is updated, the attributes are synchronized.
Usage without Schema: Custom fields are related to each data row individually.