PHPackages                             pimcore/elasticsearch-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Search &amp; Filtering](/categories/search)
4. /
5. pimcore/elasticsearch-client

ActiveSymfony-bundle[Search &amp; Filtering](/categories/search)

pimcore/elasticsearch-client
============================

v2.0.0(1y ago)1368.7k—8.6%4[1 issues](https://github.com/pimcore/elasticsearch-client/issues)4proprietaryPHPPHP ~8.3.0 || ~8.4.0CI passing

Since Nov 16Pushed 1mo ago7 watchersCompare

[ Source](https://github.com/pimcore/elasticsearch-client)[ Packagist](https://packagist.org/packages/pimcore/elasticsearch-client)[ RSS](/packages/pimcore-elasticsearch-client/feed)WikiDiscussions 2026.x Synced 1mo ago

READMEChangelog (6)Dependencies (4)Versions (18)Used By (4)

Pimcore Elasticsearch Client
============================

[](#pimcore-elasticsearch-client)

This bundle provides a central configuration and factory feature for creating elasticsearch clients to be used in other bundles.

It allows to configure one or more elasticsearch clients with different configuration settings. The corresponding settings are then registered as services and can be injected into any services.

Supported elasticsearch version: Elasticsearch 8

Installation
------------

[](#installation)

Install bundle via composer

```
composer require pimcore/elasticsearch-client
```

This bundle is a standard symfony bundle. If not required and activated by another bundle, it can be enabled by adding it to the `bundles.php` of your application.

Configuration
-------------

[](#configuration)

The Configuration takes place in symfony configuration tree where multiple elasticsearch clients can be configured as follows. It is possible to configure one or more clients if necessary. By default, a `default` client with host set to `localhost:9200` is available and can be customized.

For details on the configuration opens have a look at inline documentation via command `bin/console config:dump-reference PimcoreElasticsearchClientBundle`

Also see the [Elasticsearch Docs](https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/connecting.html) for more information.

```
pimcore_elasticsearch_client:
    es_clients:
        default:
            hosts: ['elastic:9200']
            username: 'elastic'
            password: 'somethingsecret'
            logger_channel: 'pimcore.elasicsearch'
        statistics:
            hosts: ['statistics-node:9200']
            logger_channel: 'pimcore.statistics'

            #optional options
            ca_bundle: 'path/to/ca/cert'
            ssl_key: 'path/to/ssl/key'
            ssl_cert: 'path/to/ssl/cert'
            ssl_password: 'secretePW'
            ssl_verification: false #true is the default value
            http_options:
                proxy: 'http://localhost:8125'
            cloud_id: '123456789'
            api_key: 'secret-apikey'
        cloud:
            cloud_id: '123456789'
            api_key: 'secret-apikey'
```

Integration into other Bundles
------------------------------

[](#integration-into-other-bundles)

For each of the configured clients, a client service is registered in the symfony container. The naming schema follows `pimcore.elasticsearch_client.`. These client services can be injected into and used by other services then.

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance52

Moderate activity, may be stable

Popularity40

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor4

4 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~111 days

Recently: every ~82 days

Total

12

Last Release

55d ago

Major Versions

v1.1.0 → v2.0.0-RC12025-04-17

1.x-dev → v2.0.02025-04-30

2.1.x-dev → 2026.x-dev2026-03-25

PHP version history (3 changes)v1.1.0-RC1PHP ^8.1

v2.0.0-RC1PHP ~8.3.0 || ~8.4.0

2026.x-devPHP ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/fb2f85a3d50811c4d9e10844b4677b8c407adde4173226450dd0bf386914a125?d=identicon)[fashxp](/maintainers/fashxp)

---

Top Contributors

[![fashxp](https://avatars.githubusercontent.com/u/8792145?v=4)](https://github.com/fashxp "fashxp (10 commits)")[![berfinyuksel](https://avatars.githubusercontent.com/u/99557970?v=4)](https://github.com/berfinyuksel "berfinyuksel (5 commits)")[![bluvulture](https://avatars.githubusercontent.com/u/7668379?v=4)](https://github.com/bluvulture "bluvulture (5 commits)")[![lukmzig](https://avatars.githubusercontent.com/u/30526586?v=4)](https://github.com/lukmzig "lukmzig (5 commits)")[![alexz707](https://avatars.githubusercontent.com/u/562324?v=4)](https://github.com/alexz707 "alexz707 (4 commits)")[![jdreesen](https://avatars.githubusercontent.com/u/424602?v=4)](https://github.com/jdreesen "jdreesen (4 commits)")[![mattamon](https://avatars.githubusercontent.com/u/38959016?v=4)](https://github.com/mattamon "mattamon (3 commits)")[![kingjia90](https://avatars.githubusercontent.com/u/6014195?v=4)](https://github.com/kingjia90 "kingjia90 (3 commits)")[![Corepex](https://avatars.githubusercontent.com/u/16717695?v=4)](https://github.com/Corepex "Corepex (1 commits)")[![markus-moser](https://avatars.githubusercontent.com/u/4639428?v=4)](https://github.com/markus-moser "markus-moser (1 commits)")[![mcop1](https://avatars.githubusercontent.com/u/89011527?v=4)](https://github.com/mcop1 "mcop1 (1 commits)")[![pimcore-deployments](https://avatars.githubusercontent.com/u/71881008?v=4)](https://github.com/pimcore-deployments "pimcore-deployments (1 commits)")[![herbertroth](https://avatars.githubusercontent.com/u/126679157?v=4)](https://github.com/herbertroth "herbertroth (1 commits)")[![ctippler](https://avatars.githubusercontent.com/u/8791970?v=4)](https://github.com/ctippler "ctippler (1 commits)")[![robertSt7](https://avatars.githubusercontent.com/u/104770750?v=4)](https://github.com/robertSt7 "robertSt7 (1 commits)")

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/pimcore-elasticsearch-client/health.svg)

```
[![Health](https://phpackages.com/badges/pimcore-elasticsearch-client/health.svg)](https://phpackages.com/packages/pimcore-elasticsearch-client)
```

###  Alternatives

[jeroen-g/explorer

Next-gen Elasticsearch driver for Laravel Scout.

397612.3k](/packages/jeroen-g-explorer)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15224.3M65](/packages/opensearch-project-opensearch-php)[mailerlite/laravel-elasticsearch

An easy way to use the official PHP ElasticSearch client in your Laravel applications.

934529.3k2](/packages/mailerlite-laravel-elasticsearch)[loupe/loupe

A full text search engine with tokenization, stemming, typo tolerance, filters and geo support based on only PHP and SQLite

497185.2k14](/packages/loupe-loupe)[zumba/elasticsearch-index-rotate

Safely rotate indexes with no downtime to end users.

1636.7k](/packages/zumba-elasticsearch-index-rotate)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
