msgphp/eav-bundle

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

Maintainers

Details

github.com/msgphp/eav-bundle

Source

Installs: 4 247

Dependents: 1

Suggesters: 0

Stars: 10

Watchers: 3

Forks: 1

Type:symfony-bundle

v0.10.0 2019-03-27 15:36 UTC

README

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\Eav\Attribute::class,
            AttributeValue::class => \App\Entity\Eav\AttributeValue::class,
        ],
    ]);
};

Documentation

Contributing

This repository is READ ONLY. Issues and pull requests should be submitted in the main development repository.