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

v1.0.0 2018-12-03 15:27 UTC

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>