PHPackages                             laluciole/elasticsearch-driver - 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. [API Development](/categories/api)
4. /
5. laluciole/elasticsearch-driver

ActiveStatamic-addon[API Development](/categories/api)

laluciole/elasticsearch-driver
==============================

ElasticSearch Statamic driver

v0.1.1(1mo ago)02↑2900%proprietaryPHPPHP ^8.2

Since Mar 21Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/LaLucioleSAS/statamic-elasticsearch-driver)[ Packagist](https://packagist.org/packages/laluciole/elasticsearch-driver)[ Docs](https://www.laluciole.dev/)[ RSS](/packages/laluciole-elasticsearch-driver/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

[\[Statamic 6.0+\]](https://statamic.com)

ElasticSearch driver for Statamic
=================================

[](#elasticsearch-driver-for-statamic)

> This addon add's an Elasticsearch driver to Statamic builtin search system.

### About ElasticSearch

[](#about-elasticsearch)

### Features

[](#features)

- Compatibility with both cloud and self-hosted ElasticSearch engine.
- Ability to index collections, assets, taxonomies and users (like default search), but also assets content for specific file formats like PDF, XML, etc. Build with [Elastic Attachment processor](https://www.elastic.co/guide/en/elasticsearch/reference/current/attachment.html).

### Compatibility

[](#compatibility)

Statamic versions: \[Statamic 6.0+\]

ElasticSearch versions: From [\[ElasticSearch 8.19.0\]](https://www.elastic.co/downloads/past-releases#elasticsearch)

Installation and Setup
----------------------

[](#installation-and-setup)

### How to Install

[](#how-to-install)

You can install this addon via Composer:

```
composer require laluciole/elasticsearch-driver
```

### How to Use

[](#how-to-use)

First, you need to declare the driver in `config/statamic/search.php`, to define the connection properties for your Elasticsearch server.

```
'elasticsearch' => [
    'hosts' => ['http://localhost:9200'],
    'apikey' => env('ELASTICSEARCH_API_KEY', 'YOUR_API_KEY'),
]
```

Next, you need to configure new indexes using the addon. Indexes are configured in `config/statamic/search.php` and uses the standard Statamic index configuration.

Here's an entry in `indexes` for the pages collection:

```
'public' => [
    'driver' => 'ElasticSearch',
    'searchables' => 'collection:pages',
    'fields' => ['title', 'description', 'content'],
],
```

You can add more arguments, like :

```
'settings' => [
    'assetscharlimit' => 100000,
],
```

TODO : settings list

If you use Bard fields, please use the `Laluciole\ElasticsearchDriver\elastic\SearchTransformers\BardTransformer::class` transformer class.

/!\\ This is a commercial addon
-------------------------------

[](#-this-is-a-commercial-addon)

You can use it for free while in development, but requires a license to use on a live site. Learn more or buy a license on [The Statamic Marketplace](https://statamic.com/addons/la-luciole/elasticsearch-driver)!

Contributions
-------------

[](#contributions)

If you have any ideas on how to improve this add-on, please create an issue on Github and we'll try to analyze all suggestions as soon as possible.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance90

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

51d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/86c04ec81042729eac816dee0663a6cce24d94dbeeef4b3843ff35a0748b477c?d=identicon)[LaLuciole](/maintainers/LaLuciole)

---

Top Contributors

[![LaLucioleSAS](https://avatars.githubusercontent.com/u/193525371?v=4)](https://github.com/LaLucioleSAS "LaLucioleSAS (7 commits)")

---

Tags

statamicstatamic-addonstatamic-v6

### Embed Badge

![Health badge](/badges/laluciole-elasticsearch-driver/health.svg)

```
[![Health](https://phpackages.com/badges/laluciole-elasticsearch-driver/health.svg)](https://phpackages.com/packages/laluciole-elasticsearch-driver)
```

###  Alternatives

[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k34.0M112](/packages/darkaonline-l5-swagger)[echolabsdev/prism

A powerful Laravel package for integrating Large Language Models (LLMs) into your applications.

2.3k388.3k10](/packages/echolabsdev-prism)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)[sburina/laravel-whmcs-up

WHMCS API client and user provider for Laravel

271.3k](/packages/sburina-laravel-whmcs-up)[statamic-rad-pack/shopify

A Shopify Addon for Statamic

113.1k1](/packages/statamic-rad-pack-shopify)

PHPackages © 2026

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