Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/vincentchalnot/siduseavfilterbundle
- Owner: VincentChalnot
- License: gpl-2.0
- Created: 2016-01-21T15:46:56.000Z (almost 9 years ago)
- Default Branch: v2.0-dev
- Last Pushed: 2020-04-14T21:13:55.000Z (over 4 years ago)
- Last Synced: 2024-10-04T00:36:08.434Z (about 1 month ago)
- Language: PHP
- Size: 98.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)
````