PHPackages                             hungneox/ramen-elastic-query - 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. [API Development](/categories/api)
4. /
5. hungneox/ramen-elastic-query

ActiveLibrary[API Development](/categories/api)

hungneox/ramen-elastic-query
============================

Lumen/Laravel package for interacting with elasticsearch

74PHP

Since Jan 21Pushed 8y ago1 watchersCompare

[ Source](https://github.com/hungneox/ramen-elastic-query)[ Packagist](https://packagist.org/packages/hungneox/ramen-elastic-query)[ RSS](/packages/hungneox-ramen-elastic-query/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Ramen Elastic Query (In development)
====================================

[](#ramen-elastic-query-in-development)

[![Build Status](https://camo.githubusercontent.com/991be2c7685111821b2e1abc857b47cb01716cef3c8f32f8082b65b70fc93067/68747470733a2f2f7472617669732d63692e6f72672f68756e676e656f782f72616d656e2d656c61737469632d71756572792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/hungneox/ramen-elastic-query)

Fluent Pseudo-SQL query builder for Elasticsearch built on top of [Lumen Elasticsearch](https://github.com/digiaonline/lumen-elasticsearch)

Installation
============

[](#installation)

Run the following command to install the package through Composer:

```
composer require hungneox/ramen-elastic-query

```

Add the following line to bootstrap/app.php:

```
$app->register(Neox\Ramen\Elastic\ElasticQueryServiceProvider::class);
```

Usage
=====

[](#usage)

Simple select
-------------

[](#simple-select)

### Object initiation or Facade both work

[](#object-initiation-or-facade-both-work)

```
$builder = app(Builder::class);

$result = $builder
	->use('content') // collection
	->from('article') // type
	->find('TIYKtQX', '_id', ['id', 'title', 'description']);

$result = ES::use('content')
		->from('article')
		->find('TIYKtQX', '_id', ['id', 'title', 'description']);
```

### Normal where clause

[](#normal-where-clause)

```
$result = $builder->select('id', 'description')
			->from('recipe')
			->where('_id', '=', $id)
			->get();
```

### Fulltext match

[](#fulltext-match)

```
$result = $builder
            ->use('content')
            ->select('id', 'title', 'description', 'featured')
            ->from('article')
            ->where('title', 'like', 'Auringonkukan')
            ->orderBy('featured', 'desc')
            ->get();
```

### Deletion

[](#deletion)

```
ES::use('content')->from('article')->delete($id);
```

License
-------

[](#license)

See [LICENSE](LICENSE).

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

[![q-hung](https://avatars.githubusercontent.com/u/199614?v=4)](https://github.com/q-hung "q-hung (22 commits)")

---

Tags

elasticsearch-phplaravel-5-packagelumen-packagephpquery-builder

### Embed Badge

![Health badge](/badges/hungneox-ramen-elastic-query/health.svg)

```
[![Health](https://phpackages.com/badges/hungneox-ramen-elastic-query/health.svg)](https://phpackages.com/packages/hungneox-ramen-elastic-query)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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