Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vincentchalnot/siduseavfilterbundle

Extension for sidus/eav-model-bundle and sidus/filter-bundle to handle the EAV model with a fallback to elastic search
https://github.com/vincentchalnot/siduseavfilterbundle

Last synced: 4 days ago
JSON representation

Extension for sidus/eav-model-bundle and sidus/filter-bundle to handle the EAV model with a fallback to elastic search

Awesome Lists containing this project

README

        

Sidus/EAVFilterBundle
=====================

This bundle works on top of the [Sidus/FilterBundle](https://github.com/VincentChalnot/SidusFilterBundle) and enables
the compatibility for the [Sidus/EAVModelBundle](https://github.com/VincentChalnot/SidusEAVModelBundle).

## Installation

### Bundle setup

Require this bundle with composer:

````bash
$ composer require sidus/eav-filter-bundle "^1.3.5"
````

### Add the bundle to AppKernel.php

````php
:
provider: sidus.eav # Required
options:
family: # Required
# Optional options
loader_depth: # Default 2
query_context: # If you want to inject a custom context (or part of it) statically for the query
use_global_context: # Merge the query_context with the global context for the query
# (the results always use the global context by default)
result_context: # Same as before but for the results (will inject this in Data::setCurrentContext)
````