PHPackages                             osushi/elasticsearch-orm - 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. osushi/elasticsearch-orm

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

osushi/elasticsearch-orm
========================

O/R Mapper For ElasticSearch Like a Laravel Eloquent

6.5.4(7y ago)36751MITPHPPHP &gt;=7.0.0

Since Sep 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Osushi/ElasticsearchOrm)[ Packagist](https://packagist.org/packages/osushi/elasticsearch-orm)[ Docs](https://github.com/Osushi/ElasticsearchOrm)[ RSS](/packages/osushi-elasticsearch-orm/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (45)Used By (0)

ElasticsearchOrm
----------------

[](#elasticsearchorm)

[![Packagist](https://camo.githubusercontent.com/70b31e13e052abc891d6a3a3a05a9107a0479ed84b21ebf0a8a7da4b423b5e4e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f73757368692f656c61737469637365617263682d6f726d2e737667)](https://packagist.org/packages/osushi/elasticsearch-orm)

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

[](#requirements)

- `php` &gt;= 7.0.0

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

[](#installation)

### Laravel Installation

[](#laravel-installation)

##### 1) Install package using composer.

[](#1-install-package-using-composer)

```
$ composer require osushi/elasticsearch-orm:~{version}
```

### Version Metrics

[](#version-metrics)

Elasticsearch 5.6.xElasticsearch 6.0.xElasticsearch 6.1.xElasticsearch 6.2.xElasticsearch 6.3.xElasticsearch 6.4.xElasticsearch 6.5.xLaravel 5.5.x~5.6.0~6.0.0~6.1.0~6.2.0~6.3.0~6.4.0~6.5.0Laravel 5.6.x~5.6.0~6.0.0~6.1.0~6.2.0~6.3.0~6.4.0~6.5.0Laravel 5.7.x~5.6.0~6.0.0~6.1.0~6.2.0~6.3.0~6.4.0~6.5.0e.g.

```
$ composer require osushi/elasticsearch-orm:~6.2.0
```

##### 2) Add package service provider.

[](#2-add-package-service-provider)

```
[config/app.php]
Osushi\ElasticsearchOrm\Providers\ElasticsearchOrmServiceProvider::class
```

##### 3) Publishing.

[](#3-publishing)

```
$ php artisan vendor:publish --provider="Osushi\ElasticsearchOrm\Providers\ElasticsearchOrmServiceProvider"
```

Documents
---------

[](#documents)

-

Test
----

[](#test)

This package's coverage is **100%**

```
# Laravel55
$ COMPOSER=composer-laravel55.json php composer.phar update
$ vendor/bin/phpunit

# Laravel56
$ COMPOSER=composer-laravel56.json php composer.phar update
$ vendor/bin/phpunit

# Laravel57
$ COMPOSER=composer-laravel57.json php composer.phar update
$ vendor/bin/phpunit
```

Inspire packages
----------------

[](#inspire-packages)

-

License
-------

[](#license)

MIT

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 98.7% 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 ~2 days

Total

44

Last Release

2709d ago

Major Versions

5.6.2 → 6.5.12018-12-08

5.6.3 → 6.0.02018-12-08

5.6.4 → 6.0.12018-12-10

5.6.5 → 6.0.22018-12-11

5.6.x-dev → 6.0.32018-12-13

### Community

Maintainers

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

---

Top Contributors

[![Osushi](https://avatars.githubusercontent.com/u/6112972?v=4)](https://github.com/Osushi "Osushi (154 commits)")[![y-masuoka](https://avatars.githubusercontent.com/u/44192150?v=4)](https://github.com/y-masuoka "y-masuoka (2 commits)")

---

Tags

laravelelasticsearchormmodeleloquentes

### Embed Badge

![Health badge](/badges/osushi-elasticsearch-orm/health.svg)

```
[![Health](https://phpackages.com/badges/osushi-elasticsearch-orm/health.svg)](https://phpackages.com/packages/osushi-elasticsearch-orm)
```

###  Alternatives

[pdphilip/elasticsearch

An Elasticsearch implementation of Laravel's Eloquent ORM

145360.2k4](/packages/pdphilip-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)[matchory/elasticsearch

The missing elasticsearch ORM for Laravel!

3059.0k](/packages/matchory-elasticsearch)[designmynight/laravel-elasticsearch

Use Elasticsearch as a database in Laravel to retrieve Eloquent models and perform aggregations.

3038.6k](/packages/designmynight-laravel-elasticsearch)

PHPackages © 2026

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