PHPackages                             congraph/entity-elastic - 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. congraph/entity-elastic

ActiveLibrary

congraph/entity-elastic
=======================

v2.0.3(1mo ago)0145PHPPHP ^8.3 || ^8.4 || ^8.5

Since Aug 30Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/congraphcms/entity-elastic)[ Packagist](https://packagist.org/packages/congraph/entity-elastic)[ RSS](/packages/congraph-entity-elastic/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (8)Dependencies (24)Versions (17)Used By (0)

congraph/entity-elastic
=======================

[](#congraphentity-elastic)

`congraph/entity-elastic` provides OpenSearch-backed indexing and delivery for Congraph entities.

Responsibilities
----------------

[](#responsibilities)

- indexing EAV entities into OpenSearch
- delivery queries backed by OpenSearch
- field formatting for searchable documents
- reindex workflows, including `IndexAllCommand`

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

[](#installation)

```
composer require congraph/entity-elastic
```

This package depends on:

- `core`
- `contracts`
- `filesystem`
- `locales`
- `workflows`
- `eav`

Laravel package provider:

- [EntityElasticServiceProvider.php](/Users/nikolap/git/np/congraph/packages/entity-elastic/EntityElasticServiceProvider.php)

OpenSearch
----------

[](#opensearch)

This package is now aligned on OpenSearch rather than legacy Elasticsearch naming.

Recommended environment:

```
OPENSEARCH_HOSTS=127.0.0.1:9200
```

The monorepo local helper uses OpenSearch `3.5.0`.

Indexing
--------

[](#indexing)

One of the most important workflows is bulk reindexing:

- [IndexAllCommand.php](/Users/nikolap/git/np/congraph/packages/entity-elastic/Console/Commands/IndexAllCommand.php)

This command now has dedicated integration coverage for:

- multi-batch indexing
- node references created later than the source entity
- node collection references created later than the source entity

See:

- [IndexAllCommandTest.php](/Users/nikolap/git/np/congraph/packages/entity-elastic/tests/integration/IndexAllCommandTest.php)

Development
-----------

[](#development)

### Install dependencies

[](#install-dependencies)

```
cd /Users/nikolap/git/np/congraph/packages/entity-elastic
composer update -W
```

### Run tests

[](#run-tests)

```
composer test
composer test:pgsql
composer test:opensearch
```

Focused OpenSearch example:

```
composer test:opensearch -- tests/integration/IndexAllCommandTest.php
```

Contribution notes
------------------

[](#contribution-notes)

- any delivery/indexing change should be verified with `composer test:opensearch`
- prefer OpenSearch-compatible request bodies and mappings
- do not assume MySQL-shaped source data when formatting indexed entities
- when changing bulk indexing or relation formatting, extend integration coverage

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance93

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 88.9% 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 ~214 days

Recently: every ~120 days

Total

14

Last Release

33d ago

Major Versions

v1.1.0 → v2.0.02026-04-11

PHP version history (4 changes)v1.0betaPHP &gt;=5.4.0

v1.0.0PHP ^8.1

v1.1.0PHP ^8.2

v2.0.0PHP ^8.3 || ^8.4 || ^8.5

### Community

Maintainers

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

---

Top Contributors

[![nikolaplavsic](https://avatars.githubusercontent.com/u/3585404?v=4)](https://github.com/nikolaplavsic "nikolaplavsic (8 commits)")[![veljamatic](https://avatars.githubusercontent.com/u/1091355?v=4)](https://github.com/veljamatic "veljamatic (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/congraph-entity-elastic/health.svg)

```
[![Health](https://phpackages.com/badges/congraph-entity-elastic/health.svg)](https://phpackages.com/packages/congraph-entity-elastic)
```

###  Alternatives

[magento/community-edition

Magento 2 (Open Source)

12.1k52.1k10](/packages/magento-community-edition)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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