A Symfony bundle for basic EAV management.
This package is part of the Message driven PHP project.
MsgPHP is a project that aims to provide (common) message based domain layers for your application. It has a low development time overhead and avoids being overly opinionated.
composer require msgphp/eav-bundle- Symfony 3.4 / 4.0 ready
- Symfony messenger commands & events
- Doctrine persistence
- Default attribute value types:
bool,int,float,string,\DateTimeInterfaceandnull
<?php
// config/packages/msgphp_eav.php
use MsgPhp\Eav\Entity\{Attribute, AttributeValue};
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return function (ContainerConfigurator $container) {
$container->extension('msgphp_eav', [
'class_mapping' => [
Attribute::class => \App\Entity\Eav\Attribute::class,
AttributeValue::class => \App\Entity\Eav\AttributeValue::class,
],
]);
};And be done.
- Read the main documentation
- Browse the API 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.