PHPackages                             broadway/read-model-elasticsearch - 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. [Database &amp; ORM](/categories/database)
4. /
5. broadway/read-model-elasticsearch

ActiveLibrary[Database &amp; ORM](/categories/database)

broadway/read-model-elasticsearch
=================================

Elasticsearch read model implementation using elastic/elasticsearch-php

0.7.1(5y ago)10177.1k↓34%8[1 PRs](https://github.com/broadway/read-model-elasticsearch/pulls)4MITPHPPHP &gt;=7.2CI passing

Since Mar 6Pushed 5mo ago3 watchersCompare

[ Source](https://github.com/broadway/read-model-elasticsearch)[ Packagist](https://packagist.org/packages/broadway/read-model-elasticsearch)[ RSS](/packages/broadway-read-model-elasticsearch/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (5)Versions (10)Used By (4)

broadway/read-model-elasticsearch
=================================

[](#broadwayread-model-elasticsearch)

Elasticsearch read model implementation for [broadway/broadway](https://github.com/broadway/broadway)using [elastic/elasticsearch-php](https://github.com/elastic/elasticsearch-php)

[![build status](https://github.com/broadway/read-model-elasticsearch/actions/workflows/ci.yml/badge.svg)](https://github.com/broadway/read-model-elasticsearch/actions/workflows/ci.yml/badge.svg)

Installation
------------

[](#installation)

```
$ composer require broadway/read-model-elasticsearch

```

Version Matrix
--------------

[](#version-matrix)

Elasticsearch Versionbroadway/read-model-elasticsearch version70.760.650.520.110.1Testing
-------

[](#testing)

For testing you obviously need a running Elasticsearch instance, therefore these tests are marked with `@group functional`.

To start a local Elasticsearch you can use the provided [docker-compose.yml](https://docs.docker.com/compose/compose-file/):

```
docker-compose up -d

```

To run all the tests:

```
./vendor/bin/phpunit --exclude-group=none

```

License
-------

[](#license)

MIT, see LICENSE.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance48

Moderate activity, may be stable

Popularity40

Moderate usage in the ecosystem

Community27

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~202 days

Recently: every ~80 days

Total

8

Last Release

1944d ago

PHP version history (4 changes)0.1.0PHP &gt;=5.5.9

0.2.0PHP ^5.6|^7.0

0.3.0PHP &gt;=7.0

0.4.0PHP &gt;=7.2

### Community

Maintainers

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

---

Top Contributors

[![othillo](https://avatars.githubusercontent.com/u/2786663?v=4)](https://github.com/othillo "othillo (40 commits)")[![wjzijderveld](https://avatars.githubusercontent.com/u/450201?v=4)](https://github.com/wjzijderveld "wjzijderveld (17 commits)")[![fritsjanb](https://avatars.githubusercontent.com/u/1194777?v=4)](https://github.com/fritsjanb "fritsjanb (8 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![asm89](https://avatars.githubusercontent.com/u/657357?v=4)](https://github.com/asm89 "asm89 (4 commits)")[![kapitok](https://avatars.githubusercontent.com/u/2195022?v=4)](https://github.com/kapitok "kapitok (1 commits)")[![kelvinj](https://avatars.githubusercontent.com/u/31241?v=4)](https://github.com/kelvinj "kelvinj (1 commits)")[![Maks3w](https://avatars.githubusercontent.com/u/1301698?v=4)](https://github.com/Maks3w "Maks3w (1 commits)")[![manelephant](https://avatars.githubusercontent.com/u/3207935?v=4)](https://github.com/manelephant "manelephant (1 commits)")[![mbadolato](https://avatars.githubusercontent.com/u/164615?v=4)](https://github.com/mbadolato "mbadolato (1 commits)")[![nicolopignatelli](https://avatars.githubusercontent.com/u/1071681?v=4)](https://github.com/nicolopignatelli "nicolopignatelli (1 commits)")[![ninodafonte](https://avatars.githubusercontent.com/u/906170?v=4)](https://github.com/ninodafonte "ninodafonte (1 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")[![ricbra](https://avatars.githubusercontent.com/u/872886?v=4)](https://github.com/ricbra "ricbra (1 commits)")[![boekkooi](https://avatars.githubusercontent.com/u/399895?v=4)](https://github.com/boekkooi "boekkooi (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/broadway-read-model-elasticsearch/health.svg)

```
[![Health](https://phpackages.com/badges/broadway-read-model-elasticsearch/health.svg)](https://phpackages.com/packages/broadway-read-model-elasticsearch)
```

###  Alternatives

[elasticquent/elasticquent

Maps Laravel Eloquent models to Elasticsearch types.

1.4k945.1k2](/packages/elasticquent-elasticquent)[pdphilip/elasticsearch

An Elasticsearch implementation of Laravel's Eloquent ORM

145360.2k4](/packages/pdphilip-elasticsearch)[basemkhirat/elasticsearch

Laravel, Lumen and Native php elasticseach query builder to build complex queries using an elegant syntax

402312.0k](/packages/basemkhirat-elasticsearch)[sleimanx2/plastic

Plastic is an Elasticsearch ODM and mapper for Laravel. It renders the developer experience more enjoyable while using Elasticsearch by providing a fluent syntax for mapping , querying and storing eloquent models.

508141.9k1](/packages/sleimanx2-plastic)[broadway/event-store-dbal

Event store implementation using doctrine/dbal

29891.9k8](/packages/broadway-event-store-dbal)[iverberk/larasearch

Elasticsearch enabled Eloquent models

22415.4k](/packages/iverberk-larasearch)

PHPackages © 2026

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