PHPackages                             luminee/esun - 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. luminee/esun

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

luminee/esun
============

Make ElasticSearch operation like SQL, build ORM for ElasticSearch

0.1(6y ago)251MITPHPPHP &gt;=5.5

Since Jul 17Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Luminee/esun)[ Packagist](https://packagist.org/packages/luminee/esun)[ Docs](https://github.com/Luminee/esun)[ RSS](/packages/luminee-esun/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Esun
====

[](#esun)

Make ElasticSearch operation like SQL, build ORM for ElasticSearch

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

[](#installation)

Install through Composer.

```
composer require luminee/esun

```

Add service provider in your project's config/app.php file:

```
  'providers' => [
    // Other Providers

    Luminee\Esun\EsunServiceProvider::class,
  ],

```

and facades:

```
  'aliases' => [
    // Other Aliases

    'ES' => Luminee\Esun\Facades\ES::class,
  ],

```

Configuration
-------------

[](#configuration)

Publish the esun.php to config folder

```
php artisan vendor:publish --provider="Luminee\Esun\EsunServiceProvider"

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2493d ago

### Community

Maintainers

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

---

Top Contributors

[![Luminee](https://avatars.githubusercontent.com/u/17894745?v=4)](https://github.com/Luminee "Luminee (8 commits)")

---

Tags

elasticsearchormsqles

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/luminee-esun/health.svg)

```
[![Health](https://phpackages.com/badges/luminee-esun/health.svg)](https://phpackages.com/packages/luminee-esun)
```

###  Alternatives

[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[crcms/elasticsearch

Use SQL statements to query elasticsearch

1058.3k1](/packages/crcms-elasticsearch)[matchory/elasticsearch

The missing elasticsearch ORM for Laravel!

3059.0k](/packages/matchory-elasticsearch)

PHPackages © 2026

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