Menu

Maslosoft Manganel Logo Maslosoft Manganel Documentation
Elasticsearch for Mangan

Edit

Documentation

Manganel is a full text search provider for Mangan project.

Installation

Use composer to install manganel:

composer require maslosoft/manganel

Configuration

It is recommended to use EmbeDi to configure Manganel. This allow separation configuration from actual usage. Minimum configuration required is index name, using property index. Default configuration ID is manganel

Use statements omitted

$config = [
    'manganel' => [
        'class' => Manganel::class,
        // Index name
        'index' => 'quick-start',
    ]
];
EmbeDi::fly()->addAdapter(new ArrayAdapter($config));