PHPackages                             refugis/elastica-odm - 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. refugis/elastica-odm

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

refugis/elastica-odm
====================

Doctrine like document manager for ElasticSearch, based on Elastica

1.0(6y ago)28.8k↑270%3MITPHPPHP ^7.1CI failing

Since Sep 20Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/refugis/elastica-odm)[ Packagist](https://packagist.org/packages/refugis/elastica-odm)[ RSS](/packages/refugis-elastica-odm/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (12)Versions (5)Used By (3)

[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://vshymanskyy.github.io/StandWithUkraine)

---

### [🇷🇺 A message to russian people](/to-russian-people.md)

[](#-a-message-to-russian-people)

Refugis - Elastica ODM
======================

[](#refugis---elastica-odm)

[![Tests](https://github.com/refugis/elastica-odm/workflows/Tests/badge.svg)](https://github.com/refugis/elastica-odm/workflows/Tests/badge.svg)

Doctrine like document manager for ElasticSearch, based on [Elastica](https://www.github.com/ruflin/elastica). Originally written by [Fazland team](https://www.github.com/fazland/elastica-odm).

Requirements
------------

[](#requirements)

- php ^7.4 || ^8.0
- doctrine/annotations ^1.6
- doctrine/common ^3.0
- doctrine/inflector ^2.0
- doctrine/persistence ^2.0
- kcs/class-finder ^0.1 || ^0.2 || ^0.3
- kcs/metadata: ^3.1 || ^4.0
- ocramius/proxy-manager ^2.0
- psr/cache-implementation ^1.0
- psr/log ^1.0
- ruflin/elastica ^5.0 || ^6.0 || ^7.0
- symfony/polyfill-php80 ^1.0
- thecodingmachine/safe ^1.0

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

[](#installation)

The suggested installation method is via [composer](https://getcomposer.org/):

```
$ composer require refugis/elastica-odm
```

Using Elastica ODM
------------------

[](#using-elastica-odm)

Work in progress

Test
----

[](#test)

Just run

```
$ ./run-tests.sh
```

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

[](#contributing)

Contributions are welcome. Feel free to open a PR or file an issue here on GitHub!

License
-------

[](#license)

Elastica ODM is licensed under the MIT License - see the [LICENSE](https://github.com/refugis/elastica-odm/blob/master/LICENSE) file for details.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance52

Moderate activity, may be stable

Popularity24

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% 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 ~201 days

Total

2

Last Release

2266d ago

Major Versions

1.0 → 2.0.0-beta.12020-04-08

PHP version history (2 changes)1.0PHP ^7.1

2.0.0-beta.1PHP ^7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/73dd7f3bebd03ec946b6b12359141ea461b770c3671acac4e8004e3c2d78e78f?d=identicon)[alekitto](/maintainers/alekitto)

![](https://www.gravatar.com/avatar/2ec273e505eac80af12ad5fb33f5111af2b9805f41cb50c598f6d36426331d8c?d=identicon)[massimilianobraglia](/maintainers/massimilianobraglia)

---

Top Contributors

[![alekitto](https://avatars.githubusercontent.com/u/1257206?v=4)](https://github.com/alekitto "alekitto (132 commits)")[![massimilianobraglia](https://avatars.githubusercontent.com/u/17158942?v=4)](https://github.com/massimilianobraglia "massimilianobraglia (11 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/refugis-elastica-odm/health.svg)

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

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[kimai/kimai

Kimai - Time Tracking

4.7k8.7k1](/packages/kimai-kimai)[oro/platform

Business Application Platform (BAP)

642140.7k104](/packages/oro-platform)[concrete5/core

Concrete – an open source content management system.

20163.8k49](/packages/concrete5-core)[perplorm/perpl

Perpl is an improved and still maintained fork of Propel2, an open-source Object-Relational Mapping (ORM) for PHP.

239.4k](/packages/perplorm-perpl)[bartlett/php-compatinfo-db

Reference Database of all functions, constants, classes, interfaces on PHP standard distribution and about 110 extensions

1184.5k2](/packages/bartlett-php-compatinfo-db)

PHPackages © 2026

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