PHPackages                             open-dxp/elasticsearch-client-bundle - 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. open-dxp/elasticsearch-client-bundle

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

open-dxp/elasticsearch-client-bundle
====================================

v1.0.1(1mo ago)0666↑112.5%2GPL-3.0+PHPPHP ~8.3.0 || ~8.4.0 || ~8.5.0CI passing

Since Dec 5Pushed 1mo agoCompare

[ Source](https://github.com/open-dxp/elasticsearch-client-bundle)[ Packagist](https://packagist.org/packages/open-dxp/elasticsearch-client-bundle)[ RSS](/packages/open-dxp-elasticsearch-client-bundle/feed)WikiDiscussions 1.x Synced today

READMEChangelog (2)Dependencies (11)Versions (7)Used By (2)

OpenDXP Elasticsearch Client
============================

[](#opendxp-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

---

Disclaimer
----------

[](#disclaimer)

> OpenDXP is a community-driven fork based on the Pimcore® Community Edition (GPLv3).
> OpenDXP is independent and maintained by its community and contributors. It is not affiliated with, endorsed by, or sponsored by Pimcore GmbH.
> Original credits: [Pimcore GmbH](https://www.pimcore.com)

**OpenDXP Elasticsearch Client Bundle is based on the Pimcore® Community Edition and remains licensed under GPLv3.**

---

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

[](#installation)

Install bundle via composer

```
composer require open-dxp/elasticsearch-client-bundle
```

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 OpenDxpElasticsearchClientBundle`

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

```
opendxp_elasticsearch_client:
    es_clients:
        default:
            hosts: ['elastic:9200']
            username: 'elastic'
            password: 'somethingsecret'
            logger_channel: 'opendxp.elasicsearch'
        statistics:
            hosts: ['statistics-node:9200']
            logger_channel: 'opendxp.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 `opendxp.elasticsearch_client.`. These client services can be injected into and used by other services then.

---

Upstream Origin &amp; Version Transparency
------------------------------------------

[](#upstream-origin--version-transparency)

This project is a fork of the [Pimcore elasticsearch-client (312f317 / v1.1.0)](https://github.com/pimcore/elasticsearch-client/tree/312f31746aec6051941f9ef1913cb30d30b4ea07), which is © Pimcore GmbH and licensed under GPLv3.

License
-------

[](#license)

Licensed under the GNU General Public License v3.0 (GPLv3). For details, please see [LICENSE.md](LICENSE.md).

Copyright
---------

[](#copyright)

© Pimcore GmbH
© 2026 OpenDXP Contributors — GPLv3

Trademarks
----------

[](#trademarks)

Pimcore® is a registered [trademark](https://www.trademarkelite.com/europe/trademark/trademark-detail/009309841/PIMCORE) of Pimcore GmbH. Any use of the Pimcore® mark in this repository is purely descriptive to identify the original upstream project.

---

Contact
-------

[](#contact)

For inquiries, suggestions, or contributions, feel free to reach us at .

About
-----

[](#about)

OpenDXP is a community-driven project initiated by [DACHCOM.DIGITAL](https://www.dachcom.com/de-ch) (Rheineck, Switzerland) and maintained by its community and contributors. OpenDXP is independent and not affiliated with Pimcore GmbH.

The project’s purpose is to preserve and maintain a GPLv3‑licensed codebase for community use.

It is **not positioned as a competitor** to products or services of Pimcore GmbH and does **not** purport to replace or supersede any Pimcore offering.

###  Health Score

48

—

FairBetter than 93% of packages

Maintenance91

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.6% of commits — single point of failure

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

Total

3

Last Release

42d ago

PHP version history (2 changes)v1.0.0PHP ~8.3.0 || ~8.4.0

1.x-devPHP ~8.3.0 || ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/eac90c4e5116f383944994644316c1ce28ee109ddc1df43e3bfb6a8496e42538?d=identicon)[open-dxp](/maintainers/open-dxp)

---

Top Contributors

[![solverat](https://avatars.githubusercontent.com/u/700119?v=4)](https://github.com/solverat "solverat (10 commits)")[![open-dxp-stack](https://avatars.githubusercontent.com/u/222377954?v=4)](https://github.com/open-dxp-stack "open-dxp-stack (4 commits)")[![scrummer](https://avatars.githubusercontent.com/u/15173170?v=4)](https://github.com/scrummer "scrummer (4 commits)")

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/open-dxp-elasticsearch-client-bundle/health.svg)

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

###  Alternatives

[symfony/cache

Provides extended PSR-6, PSR-16 (and tags) implementations

4.2k373.5M3.3k](/packages/symfony-cache)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

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

Next-gen Elasticsearch driver for Laravel Scout.

399672.8k](/packages/jeroen-g-explorer)[magento/community-edition

Magento 2 (Open Source)

12.2k53.6k13](/packages/magento-community-edition)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)

PHPackages © 2026

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