A Symfony bundle for basic EAV management.
composer require msgphp/eav-bundle<?php
// config/packages/msgphp_eav.php
use MsgPhp\Eav\Attribute;
use MsgPhp\Eav\AttributeValue;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return function (ContainerConfigurator $container) {
$container->extension('msgphp_eav', [
'class_mapping' => [
Attribute::class => \App\Entity\Attribute::class,
AttributeValue::class => \App\Entity\AttributeValue::class,
],
]);
};- Read the main documentation
- Try the Symfony demo application
- Get support on Symfony's Slack
#msgphpchannel or raise an issue
This repository is READ ONLY. Issues and pull requests should be submitted in the main development repository.