chaplean / elasticsearch-bundle
The Bundle base to fork
Installs: 156
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.1
- elasticsearch/elasticsearch: ^6.0
- symfony/config: ^3.0 || ^4.0
- symfony/console: ^3.0 || ^4.0
- symfony/dependency-injection: ^3.0 || ^4.0
- symfony/yaml: ^3.0 || ^4.0
Requires (Dev)
- chaplean/codeship-scripts: ^1.0
- chaplean/coding-standard: ^1.1
- mockery/mockery: dev-master
- phpunit/phpunit: ^7.0
- symfony/http-kernel: ^2.8 || ^3.0 || ^4.0
- symfony/var-dumper: ^2.8 || ^3.0 || ^4.0
This package is auto-updated.
Last update: 2024-11-10 07:40:53 UTC
README
Prerequisites
This version of the bundle requires Symfony 3.4+.
Installation
1. Composer
composer require chaplean/elasticsearch-bundle
2. AppKernel.php
Then, enable the bundle by adding it to the list of registered bundles
in the app/AppKernel.php
file of your project:
<?php // app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = [ // ... new Chaplean\Bundle\ElasticsearchBundle\ChapleanElasticsearchBundle(), ]; // ... } // ... }
3. config.yml
chaplean_elasticsearch:
indexes:
<key>: <index_name>