PHPackages                             iverberk/larasearch - 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. iverberk/larasearch

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

iverberk/larasearch
===================

Elasticsearch enabled Eloquent models

0.8.0(11y ago)22415.4k47[9 PRs](https://github.com/iverberk/larasearch/pulls)MITPHPPHP &gt;=5.4.0

Since Aug 3Pushed 7y ago20 watchersCompare

[ Source](https://github.com/iverberk/larasearch)[ Packagist](https://packagist.org/packages/iverberk/larasearch)[ RSS](/packages/iverberk-larasearch/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (8)Versions (11)Used By (0)

Introduction
------------

[](#introduction)

Larasearch is a Laravel package that aims to seamlessly integrate Elasticsearch functionality with the Eloquent ORM.

Features
--------

[](#features)

- Plug 'n Play searching functionality for Eloquent models
- Automatic creation/indexing based on Eloquent model properties and relations
- Aggregations, Suggestions, Autocomplete, Highlighting, etc. It's all there!
- Load Eloquent models based on Elasticsearch queries
- Automatic reindexing on updates of (related) Eloquent models

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

[](#installation)

*Laravel 5*

NB: This is preliminary support. When L5 compatibility is stable I will tag it with a version.

Add Larasearch to your composer.json file:

`"iverberk/larasearch": "dev-L5"`

Add the service provider to your Laravel application config:

```
'Iverberk\Larasearch\LarasearchServiceProvider'
```

*Laravel 4*

Add Larasearch to your composer.json file:

`"iverberk/larasearch": "0.8.0"`

Add the service provider to your Laravel application config:

```
'Iverberk\Larasearch\LarasearchServiceProvider'
```

Wiki
----

[](#wiki)

Please see the Github [wiki](https://github.com/iverberk/larasearch/wiki/Introduction) for the most up-to-date documentation.

Changelog
---------

[](#changelog)

All releases are tracked and documented in the [changelog](https://github.com/iverberk/larasearch/wiki/Changelog).

Credits
-------

[](#credits)

This package is very much inspired by these excellent packages that already exist for the Ruby/Rails ecosystem.

- [Searchkick](https://github.com/ankane/searchkick)
- [Elasticsearch Rails](https://github.com/elasticsearch/elasticsearch-rails)

A lot of their ideas have been reused to work within a PHP/Laravel environment.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity42

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~42 days

Total

7

Last Release

4124d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/85e5696fa315f831f40cedc5cd4bf348c2c2c4610dbbd2e9066fd64773e7f5db?d=identicon)[Ivo](/maintainers/Ivo)

---

Top Contributors

[![iverberk](https://avatars.githubusercontent.com/u/2798710?v=4)](https://github.com/iverberk "iverberk (16 commits)")[![myselfhimself](https://avatars.githubusercontent.com/u/1265346?v=4)](https://github.com/myselfhimself "myselfhimself (16 commits)")[![ferrydg](https://avatars.githubusercontent.com/u/8331456?v=4)](https://github.com/ferrydg "ferrydg (4 commits)")[![menthol](https://avatars.githubusercontent.com/u/1001497?v=4)](https://github.com/menthol "menthol (4 commits)")[![nuzelac](https://avatars.githubusercontent.com/u/195299?v=4)](https://github.com/nuzelac "nuzelac (1 commits)")[![SKEEZERx](https://avatars.githubusercontent.com/u/7212949?v=4)](https://github.com/SKEEZERx "SKEEZERx (1 commits)")

---

Tags

searchelasticsearcheloquent

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/iverberk-larasearch/health.svg)

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

###  Alternatives

[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[pdphilip/elasticsearch

An Elasticsearch implementation of Laravel's Eloquent ORM

145360.2k4](/packages/pdphilip-elasticsearch)[mehdi-fathi/eloquent-filter

Eloquent Filter adds custom filters automatically to your Eloquent Models in Laravel.It's easy to use and fully dynamic, just with sending the Query Strings to it.

450191.6k1](/packages/mehdi-fathi-eloquent-filter)[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)[baril/bonsai

An implementation of the Closure Tables pattern for Eloquent.

3593.5k](/packages/baril-bonsai)[toponepercent/baum

Baum is an implementation of the Nested Set pattern for Eloquent models.

3154.7k](/packages/toponepercent-baum)

PHPackages © 2026

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