PHPackages                             ride/app-orm-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. [Database &amp; ORM](/categories/database)
4. /
5. ride/app-orm-elastic

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

ride/app-orm-elastic
====================

Elastic search integration for the Ride ORM.

1.1.0(9y ago)0941MIT

Since Jun 7Compare

[ Source](https://github.com/all-ride/ride-app-orm-elastic)[ Packagist](https://packagist.org/packages/ride/app-orm-elastic)[ RSS](/packages/ride-app-orm-elastic/feed)WikiDiscussions Synced yesterday

READMEChangelogDependencies (6)Versions (6)Used By (1)

Ride: ORM Elastic
=================

[](#ride-orm-elastic)

This module will integrate Elasticsearch into the ORM.

To enable Elastic on your model, add the *behaviour.elastic* property to your model options. Set it to the *index/type* of your data in the Elasticsearch server eg. geo/locations.

When this behaviour is enabled, a method *getElasticDocument* will be generated in your entry class. This method will make the conversion between the ORM and Elastic.

The mapping to Elastic is based on your model definition. You can skip fields by adding the *elastic.omit* option to the field.

You will need the Elastic ORM commands for the CLI to define the mapping and to index existing records. Whenever a manipulation is done (insert, update or delete), the index is automatically updated.

*Note: when you enable the json API, you can add the elastic filter to add search through Elastic.*

```

```

Related Modules
---------------

[](#related-modules)

- [ride/app](https://github.com/all-ride/ride-app)
- [ride/app-elastic](https://github.com/all-ride/ride-app-elastic)
- [ride/app-orm](https://github.com/all-ride/ride-app-orm)
- [ride/cli-orm-elastic](https://github.com/all-ride/ride-cli-orm-elastic)
- [ride/lib-event](https://github.com/all-ride/ride-lib-event)
- [ride/lib-generator](https://github.com/all-ride/ride-lib-generator)
- [ride/lib-orm](https://github.com/all-ride/ride-lib-orm)

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

[](#installation)

You can use [Composer](http://getcomposer.org) to install this application.

```
composer require ride/app-orm-elastic

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Total

4

Last Release

3430d ago

Major Versions

0.1.2 → 1.0.02016-10-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d98d3f0d5db5eb241c6ee74bcee87d1e7dc1aaf7942b933d68e612ee2352eea?d=identicon)[ride-user](/maintainers/ride-user)

---

Top Contributors

[![kayalion](https://avatars.githubusercontent.com/u/2340819?v=4)](https://github.com/kayalion "kayalion (18 commits)")

### Embed Badge

![Health badge](/badges/ride-app-orm-elastic/health.svg)

```
[![Health](https://phpackages.com/badges/ride-app-orm-elastic/health.svg)](https://phpackages.com/packages/ride-app-orm-elastic)
```

PHPackages © 2026

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