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

ActiveLibrary

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

Doctrine like document manager for ElasticSearch, based on Elastica

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

Since Sep 20Pushed 2mo 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 1mo 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

41

—

FairBetter than 88% of packages

Maintenance60

Regular maintenance activity

Popularity24

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity56

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

2221d 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

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M647](/packages/sylius-sylius)[phpbench/phpbench

PHP Benchmarking Framework

2.0k13.0M627](/packages/phpbench-phpbench)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[neos/flow

Flow Application Framework

862.0M449](/packages/neos-flow)[neos/flow-development-collection

Flow packages in a joined repository for pull requests.

144179.3k3](/packages/neos-flow-development-collection)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M151](/packages/sulu-sulu)

PHPackages © 2026

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