# Contributte / Elasticsearch

Find out more about elasticsearch-php (opens new window) and also about Elasticsearch (opens new window)

# Content

# Setup

Install package

composer require contributte/elasticsearch
1

Register extension.

extensions:
	elasticsearch: Contributte\Elasticsearch\DI\ElasticsearchExtension
1
2

# Configuration

elasticsearch:
	hosts: [localhost]
	sslVerification: false
	apiKey: [testapikey]
1
2
3
4

NOTE: The host is required, others are recommended, but not necessary.