PHPackages                             wa72/es-tools - 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. wa72/es-tools

ActiveLibrary[Search &amp; Filtering](/categories/search)

wa72/es-tools
=============

PHP Helper classes for Elasticsearch

1116PHPCI failing

Since Aug 5Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/wasinger/es-tools)[ Packagist](https://packagist.org/packages/wa72/es-tools)[ RSS](/packages/wa72-es-tools/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Helpers for Elasticsearch
=============================

[](#php-helpers-for-elasticsearch)

[![Tests](https://github.com/wasinger/es-tools/workflows/Tests/badge.svg?branch=master)](https://github.com/wasinger/es-tools/actions)

This repository contains some useful convenience classes for working with the official Elasticsearch PHP Client, which is a rather lowlevel tool.

The tools in this repo are primarily written for my personal use but may be helpful for others too.

Currently the project contains the following classes:

- `IndexHelper`: create index, verify mappings and settings, manage index version aliases. If mappings or analysis settings have changed for an existing index, the method `prepareIndex` can automatically create a new index with the new settings, re-index existing data, and switch aliases afterwards.
- `SearchScrollHelper`: scrolling made easy
- `Index`: Class representing an Elasticsearch index

Initially, the focus was on the `IndexHelper` class mainly for easy managing of index versioning (e.g., initially you have an index `my-index`, then create a new version `my-index-1` and set `my-index` as an alias for `my-index-1`). The `SearchScrollHelper` was needed for easy re-indexing existing data from the old to the new index version. Nowadays, the `Index` class is the convenient entry point for all actions on an elasticsearch index: managing mapping, settings, and versions, as well as indexing, querying, retrieving, and deleting documents.

There is also [wasinger/elasticsearch-bundle](https://github.com/wasinger/elasticsearch-bundle)for integrating these tools in a Symfony project.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

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

---

Top Contributors

[![wasinger](https://avatars.githubusercontent.com/u/2566999?v=4)](https://github.com/wasinger "wasinger (9 commits)")

---

Tags

elasticsearchphp

### Embed Badge

![Health badge](/badges/wa72-es-tools/health.svg)

```
[![Health](https://phpackages.com/badges/wa72-es-tools/health.svg)](https://phpackages.com/packages/wa72-es-tools)
```

###  Alternatives

[ircmaxell/filterus

A library for filtering variables in PHP

44613.4k6](/packages/ircmaxell-filterus)[awesome-nova/dependent-filter

Dependent filters for Laravel Nova

26190.2k](/packages/awesome-nova-dependent-filter)

PHPackages © 2026

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