PHPackages                             a-kurau/elastica - 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. a-kurau/elastica

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

a-kurau/elastica
================

Elasticsearch Client

7.3.1(3y ago)04MITPHPPHP ^7.2 || ^8.0

Since Mar 4Pushed 2y agoCompare

[ Source](https://github.com/a-kurau/Elastica)[ Packagist](https://packagist.org/packages/a-kurau/elastica)[ Docs](http://elastica.io/)[ RSS](/packages/a-kurau-elastica/feed)WikiDiscussions 8.x Synced 1mo ago

READMEChangelogDependencies (11)Versions (84)Used By (0)

Elastica: elasticsearch PHP Client
==================================

[](#elastica-elasticsearch-php-client)

[![Latest Stable Version](https://camo.githubusercontent.com/10c1bed0a0bbf6679eaabf2ff4ef8c0e474a889543a699ee438fe0c250ac1c99/68747470733a2f2f706f7365722e707567782e6f72672f7275666c696e2f456c6173746963612f762f737461626c652e706e67)](https://packagist.org/packages/ruflin/elastica)[![Build Status](https://github.com/ruflin/elastica/workflows/Continuous%20integration/badge.svg?branch=master)](https://github.com/ruflin/Elastica/actions?query=workflow%3A%22Continuous%20integration%22%20branch%3Amaster)[![codecov.io](https://camo.githubusercontent.com/e471d560b745b7cd365345f10fa07c2280155e982fc568d8ef6bd1ac389217a9/687474703a2f2f636f6465636f762e696f2f6769746875622f7275666c696e2f456c6173746963612f636f7665726167652e7376673f6272616e63683d6d6173746572)](http://codecov.io/github/ruflin/Elastica?branch=master)[![Dependency Status](https://camo.githubusercontent.com/2a81dfd123ba3d52460c425ebb6f5cd0b2fc7cf9556e71ddeba97b0fcb853820/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f7275666c696e3a656c6173746963612f6465762d6d61737465722f62616467652e737667)](https://www.versioneye.com/php/ruflin:elastica/dev-master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/d4df67bbbd0df691407af339f98eedec054831b7220d3514d940d11abddc5632/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7275666c696e2f456c6173746963612f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ruflin/Elastica/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/74b76808925a695fc9686ec7bcf1f653838eed3cfc534889dd4f1a1b852ad639/68747470733a2f2f706f7365722e707567782e6f72672f7275666c696e2f456c6173746963612f646f776e6c6f6164732e706e67)](https://packagist.org/packages/ruflin/elastica)[![Join the chat at https://gitter.im/ruflin/Elastica](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/ruflin/Elastica?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

All documentation for Elastica can be found under [Elastica.io](http://Elastica.io/). If you have questions, don't hesitate to ask them on [Stack Overflow](http://stackoverflow.com/questions/tagged/elastica) and add the Tag "Elastica" or in our [Gitter](https://gitter.im/ruflin/Elastica) channel. All library issues should go to the [issue tracker from GitHub](https://github.com/ruflin/Elastica/issues).

Compatibility
-------------

[](#compatibility)

This release is compatible with all Elasticsearch 7.0 releases and onwards.

The testsuite is run against the most recent minor version of Elasticsearch, currently 8.8.0 and 8.9.0-SNAPSHOT

Contributing
------------

[](#contributing)

Contributions are always welcome. For details on how to contribute, check the [CONTRIBUTING](https://github.com/ruflin/Elastica/blob/master/CONTRIBUTING.md) file.

Versions &amp; Dependencies
---------------------------

[](#versions--dependencies)

This project tries to follow Elasticsearch in terms of [End of Life](https://www.elastic.co/support/eol) and maintenance since 5.x. It is generally recommended to use the latest point release of the relevant branch.

Elastica branchElasticSearchelasticsearch-phpPHP[7.x](https://github.com/ruflin/Elastica/tree/master)7.x^7.0^7.2 || ^8.0[6.x](https://github.com/ruflin/Elastica/tree/6.x)6.x^6.0^7.0 || ^8.0Unmaintained versions:

Elastica versionElasticSearchelasticsearch-phpPHP[5.x](https://github.com/ruflin/Elastica/tree/5.x)5.x^5.0&gt;=5.6[3.x](https://github.com/ruflin/Elastica/tree/3.x)2.4.0no&gt;=5.4[2.x](https://github.com/ruflin/Elastica/tree/2.x)1.7.2no&gt;=5.3.3---

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 53.7% 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 ~54 days

Recently: every ~144 days

Total

82

Last Release

853d ago

Major Versions

5.x-dev → 7.0.0-beta.32020-01-16

6.1.5 → 7.1.12021-03-24

6.2.0 → 7.1.22021-10-21

6.2.1 → 7.2.02022-08-02

7.x-dev → 8.x-dev2024-03-01

PHP version history (10 changes)v0.19.0.0PHP &gt;=5.3.0

v0.90.1.0PHP &gt;=5.3.3

3.0.0-beta1PHP &gt;=5.4.0

5.0.0-beta1PHP &gt;=5.6.0

6.0.0-beta1PHP ^7.0

7.0.0-beta1PHP ^7.1

7.0.0-beta2PHP ^7.2

7.1.0PHP ^7.2 || ^8.0

6.2.0PHP ^7.0||^8.0

8.x-devPHP ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/c44b9c00afff88ff8b443fa809c13624d5b3c45367519af2684223c90dd5d20e?d=identicon)[a-kurau](/maintainers/a-kurau)

---

Top Contributors

[![ruflin](https://avatars.githubusercontent.com/u/244900?v=4)](https://github.com/ruflin "ruflin (1355 commits)")[![im-denisenko](https://avatars.githubusercontent.com/u/3239892?v=4)](https://github.com/im-denisenko "im-denisenko (170 commits)")[![deguif](https://avatars.githubusercontent.com/u/993399?v=4)](https://github.com/deguif "deguif (169 commits)")[![munkie](https://avatars.githubusercontent.com/u/102297?v=4)](https://github.com/munkie "munkie (142 commits)")[![p365labs](https://avatars.githubusercontent.com/u/553026?v=4)](https://github.com/p365labs "p365labs (75 commits)")[![thePanz](https://avatars.githubusercontent.com/u/226021?v=4)](https://github.com/thePanz "thePanz (46 commits)")[![franmomu](https://avatars.githubusercontent.com/u/720690?v=4)](https://github.com/franmomu "franmomu (46 commits)")[![ewgRa](https://avatars.githubusercontent.com/u/735804?v=4)](https://github.com/ewgRa "ewgRa (40 commits)")[![fabian](https://avatars.githubusercontent.com/u/13346?v=4)](https://github.com/fabian "fabian (39 commits)")[![jappievw](https://avatars.githubusercontent.com/u/718437?v=4)](https://github.com/jappievw "jappievw (35 commits)")[![rayward](https://avatars.githubusercontent.com/u/1217111?v=4)](https://github.com/rayward "rayward (34 commits)")[![jlinn](https://avatars.githubusercontent.com/u/4562038?v=4)](https://github.com/jlinn "jlinn (34 commits)")[![lavoiesl](https://avatars.githubusercontent.com/u/1216046?v=4)](https://github.com/lavoiesl "lavoiesl (30 commits)")[![krzaczek](https://avatars.githubusercontent.com/u/5773701?v=4)](https://github.com/krzaczek "krzaczek (28 commits)")[![jdeniau](https://avatars.githubusercontent.com/u/1398469?v=4)](https://github.com/jdeniau "jdeniau (25 commits)")[![mwiercinski](https://avatars.githubusercontent.com/u/715765?v=4)](https://github.com/mwiercinski "mwiercinski (23 commits)")[![leabaertschi](https://avatars.githubusercontent.com/u/564566?v=4)](https://github.com/leabaertschi "leabaertschi (22 commits)")[![webdevsHub](https://avatars.githubusercontent.com/u/1021820?v=4)](https://github.com/webdevsHub "webdevsHub (22 commits)")[![Tobion](https://avatars.githubusercontent.com/u/610090?v=4)](https://github.com/Tobion "Tobion (22 commits)")[![juneym](https://avatars.githubusercontent.com/u/602912?v=4)](https://github.com/juneym "juneym (21 commits)")

---

Tags

clientsearch

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/a-kurau-elastica/health.svg)

```
[![Health](https://phpackages.com/badges/a-kurau-elastica/health.svg)](https://phpackages.com/packages/a-kurau-elastica)
```

###  Alternatives

[elasticsearch/elasticsearch

PHP Client for Elasticsearch

5.3k187.3M1.1k](/packages/elasticsearch-elasticsearch)[ruflin/elastica

Elasticsearch Client

2.3k52.4M228](/packages/ruflin-elastica)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69735.1M157](/packages/algolia-algoliasearch-client-php)[jeroen-g/explorer

Next-gen Elasticsearch driver for Laravel Scout.

399672.8k](/packages/jeroen-g-explorer)[mailerlite/laravel-elasticsearch

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

936603.4k2](/packages/mailerlite-laravel-elasticsearch)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M415](/packages/drupal-core-recommended)

PHPackages © 2026

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