elastic/elasticsearch-php

Official PHP client for Elasticsearch.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 36 minutes ago
Added to GitGenius on September 12th, 2026
Created on May 3rd, 2013
Open Issues & Pull Requests: 20 (+0)
GitHub issues: Enabled
Number of forks: 963
Total Stargazers: 5,338 (+0)
Total Subscribers: 445 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 10.8 days
Mean response time: 123.0 days
90th percentile: 263.2 days
Tracked items: 50

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 6% of issues opened in the past year have been closed. Three people close 93% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 11
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 561 days
Stale 30+ days: 11
Stale 90+ days: 11

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • tracking (10)
  • enhancement (2)
  • Documentation (1)
  • meta (1)
  • question (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Elasticsearch PHP is an official PHP client library for Elasticsearch that provides programmatic access to Elasticsearch clusters.

The client solves the problem of communicating with Elasticsearch from PHP applications by offering a comprehensive interface to the Elasticsearch REST API. It exposes over 500 endpoints covering all major Elasticsearch operations including index creation, document indexing, searching, updating, and deletion. The client handles the HTTP communication layer, allowing developers to interact with Elasticsearch through PHP method calls rather than constructing raw HTTP requests.

Developers building PHP applications that need to integrate with Elasticsearch should choose this client. It suits any project requiring full-featured Elasticsearch access from PHP, whether for search functionality, analytics, or log processing. As the official client maintained by Elastic, it receives updates aligned with Elasticsearch server releases. The versioning scheme ties client versions to Elasticsearch versions, so for Elasticsearch 8.16 a developer should use the corresponding 8.16 version of the client or above within the same major version to ensure compatibility. The client supports all currently maintained PHP versions.

The project maintains active alignment with Elasticsearch server releases through coordinated versioning. The repository includes comprehensive documentation integrated with the official Elasticsearch guides, covering installation, connection setup, and usage patterns. The project provides testing utilities including the ability to mock the Elasticsearch client for unit testing purposes.