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.0(5mo ago)0299—0%2GPL-3.0+PHPPHP ~8.3.0 || ~8.4.0CI failing

Since Dec 5Pushed 2mo 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 1mo ago

READMEChangelog (1)Dependencies (4)Versions (3)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
© 2025 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

43

—

FairBetter than 90% of packages

Maintenance84

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.1% 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 ~68 days

Total

2

Last Release

86d ago

### Community

Maintainers

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

---

Top Contributors

[![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 (3 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

[ruflin/elastica

Elasticsearch Client

2.3k50.4M202](/packages/ruflin-elastica)[jeroen-g/explorer

Next-gen Elasticsearch driver for Laravel Scout.

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

PHP Client for OpenSearch

15024.3M64](/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)
