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.5k47[27 issues](https://github.com/iverberk/larasearch/issues)[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 today

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 81% of packages

Maintenance18

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

4170d 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

[spatie/laravel-medialibrary

Associate files with Eloquent models

6.1k43.2M631](/packages/spatie-laravel-medialibrary)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k90.5k1](/packages/mike-bronner-laravel-model-caching)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[itpathsolutions/dbstan

Database Standardization and Analysis Tool for Laravel

492.8k](/packages/itpathsolutions-dbstan)

PHPackages © 2026

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