msgphp/eav-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

Basic entity-attribute-value management (the `EAV` domain)

Maintainers

Details

github.com/msgphp/eav-bundle

Source

Installs: 19 325

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Type:symfony-bundle

v0.15.1 2020-03-08 13:52 UTC

README

msgphp/* repositories are not actively developed/supported anymore.

Use in production on your own risks.

If you want to do some hotfixes - please do PR directly in target repository instead of previous msgphp/msgphp monorepository

Entity-Attribute-Value Bundle

A Symfony bundle for basic EAV management.

Latest Stable Version

Installation

composer require msgphp/eav-bundle

Configuration

<?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,
        ],
    ]);
};

Documentation

Contributing