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

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

norgul/larasearch
=================

Elasticsearch enabled Eloquent models

0.9.1(8y ago)031MITPHPPHP &gt;=5.4.0

Since Aug 3Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Norgul/larasearch)[ Packagist](https://packagist.org/packages/norgul/larasearch)[ RSS](/packages/norgul-larasearch/feed)WikiDiscussions L5 Synced 2d ago

READMEChangelogDependencies (10)Versions (13)Used By (0)

Disclaimer
----------

[](#disclaimer)

This is a forked repository made for the sole purpose of working on Laravel 5 without errors. All other work is a courtesy of its respectful owner. [Original repository](https://github.com/iverberk/larasearch)

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*

Add Larasearch to your composer.json file:

`"norgul/larasearch": "0.9.1"`

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

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity55

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

Recently: every ~284 days

Total

9

Last Release

3043d ago

### Community

Maintainers

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

---

Top Contributors

[![myselfhimself](https://avatars.githubusercontent.com/u/1265346?v=4)](https://github.com/myselfhimself "myselfhimself (16 commits)")[![iverberk](https://avatars.githubusercontent.com/u/2798710?v=4)](https://github.com/iverberk "iverberk (16 commits)")[![Norgul](https://avatars.githubusercontent.com/u/11718157?v=4)](https://github.com/Norgul "Norgul (10 commits)")[![menthol](https://avatars.githubusercontent.com/u/1001497?v=4)](https://github.com/menthol "menthol (4 commits)")[![ferrydg](https://avatars.githubusercontent.com/u/8331456?v=4)](https://github.com/ferrydg "ferrydg (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/norgul-larasearch/health.svg)

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

###  Alternatives

[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[cviebrock/eloquent-sluggable

Easy creation of slugs for your Eloquent models in Laravel

4.0k13.6M253](/packages/cviebrock-eloquent-sluggable)[pdphilip/elasticsearch

An Elasticsearch implementation of Laravel's Eloquent ORM

145360.2k4](/packages/pdphilip-elasticsearch)[iverberk/larasearch

Elasticsearch enabled Eloquent models

22415.4k](/packages/iverberk-larasearch)[cviebrock/eloquent-taggable

Easy ability to tag your Eloquent models in Laravel.

567694.8k3](/packages/cviebrock-eloquent-taggable)[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)

PHPackages © 2026

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