PHPackages                             wooze/es - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. wooze/es

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wooze/es
========

1.0(7y ago)025MITPHP

Since Jan 29Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Wooze5401/es)[ Packagist](https://packagist.org/packages/wooze/es)[ RSS](/packages/wooze-es/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (1)Versions (14)Used By (0)

 ES for Laravel
================

[](#-es-for-laravel-)

 .

Installing
----------

[](#installing)

```
$ composer require wooze/es
```

publish

```
$ php artisan vendor:publish --provider=Wooze\Es\ServiceProvider

```

model
-----

[](#model)

```
namespace App\Models;
use Wooze\Es\Models;

class examle extends EsModels
{
    protected $esArray = [
            'id',
    ];
}

```

config
------

[](#config)

```
?php
return [
    'indices' => [
        'example' => [
            'name' => '',
            'properties' => [
             ],
            'settings' => [
            ],
            'model' => \App\Models\Example::class,
        ],
    ]
];

```

builder
-------

[](#builder)

$key is the key in app\_indices.php
$fields is the array to match, the item could use ^3 to set the weight

```
$builder = new Wooze\Es\SearchBuilders($key, $fields);

```

#### paginate

[](#paginate)

$size size of per page
$page current num of page, default page = 1

```
$builder->paginate($size, $page)

```

#### keywords

[](#keywords)

accept string or array

```
$builder->keywords($keywords)

```

#### sort

[](#sort)

```
$builder->asc($field)
$builder->desc($field)

```

#### range

[](#range)

```
$builder->range($field, $operation, $value)

```

#### getParams

[](#getparams)

return the array of all param

```
$builder->getParams()

```

#### start search

[](#start-search)

return the array of id as result

```
app('es')->search($builder->gerParams());

```

License
-------

[](#license)

MIT

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity68

Established project with proven stability

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

Total

13

Last Release

2662d ago

Major Versions

0.10 → 1.02019-01-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/6381bbac30022ef2d5e1bf7bb1e52ff6e68f65f88e4d681f773a536beac25a9d?d=identicon)[Wooze](/maintainers/Wooze)

### Embed Badge

![Health badge](/badges/wooze-es/health.svg)

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

###  Alternatives

[honeybee/honeybee

Library for implementing CQRS driven, event-sourced and distributed architectures.

222.1k4](/packages/honeybee-honeybee)

PHPackages © 2026

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