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
============================

v2026.2.0(2mo ago)1548.7k↓12.5%4[1 issues](https://github.com/pimcore/elasticsearch-client/issues)4proprietaryPHPPHP ~8.4.0 || ~8.5.0CI passing

Since Nov 16Pushed 2w 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 2w ago

READMEChangelog (9)Dependencies (12)Versions (26)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

57

—

FairBetter than 98% of packages

Maintenance72

Regular maintenance activity

Popularity41

Moderate usage in the ecosystem

Community29

Small or concentrated contributor base

Maturity75

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 ~84 days

Recently: every ~32 days

Total

17

Last Release

18d ago

Major Versions

1.x-dev → v2.0.0-RC12025-04-17

2.1.x-dev → 2026.1.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

v2026.1.0PHP ~8.4.0 || ~8.5.0

### Community

Maintainers

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

---

Top Contributors

[![berfinyuksel](https://avatars.githubusercontent.com/u/99557970?v=4)](https://github.com/berfinyuksel "berfinyuksel (13 commits)")[![fashxp](https://avatars.githubusercontent.com/u/8792145?v=4)](https://github.com/fashxp "fashxp (10 commits)")[![astapc](https://avatars.githubusercontent.com/u/210384374?v=4)](https://github.com/astapc "astapc (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)")[![kingjia90](https://avatars.githubusercontent.com/u/6014195?v=4)](https://github.com/kingjia90 "kingjia90 (3 commits)")[![mattamon](https://avatars.githubusercontent.com/u/38959016?v=4)](https://github.com/mattamon "mattamon (3 commits)")[![pimcore-deployments](https://avatars.githubusercontent.com/u/71881008?v=4)](https://github.com/pimcore-deployments "pimcore-deployments (2 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)")[![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)")[![Corepex](https://avatars.githubusercontent.com/u/16717695?v=4)](https://github.com/Corepex "Corepex (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

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k39.6k](/packages/matomo-matomo)[jeroen-g/explorer

Next-gen Elasticsearch driver for Laravel Scout.

399693.0k](/packages/jeroen-g-explorer)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

86337.5k](/packages/flow-php-flow)[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k21](/packages/tempest-framework)[loupe/loupe

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

513280.5k34](/packages/loupe-loupe)[api-platform/metadata

API Resource-oriented metadata attributes and factories

275.5M254](/packages/api-platform-metadata)

PHPackages © 2026

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