PHPackages                             cviebrock/laravel-elasticsearch - 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. [Search &amp; Filtering](/categories/search)
4. /
5. cviebrock/laravel-elasticsearch

Abandoned → [mailerlite/laravel-elasticsearch](/?search=mailerlite%2Flaravel-elasticsearch)Library[Search &amp; Filtering](/categories/search)

cviebrock/laravel-elasticsearch
===============================

An easy way to use the official PHP ElasticSearch client in your Laravel applications.

10.0.2(2y ago)62.9M↓18.7%45MITPHPPHP ^7.3|^8.0

Since May 28Pushed 2y ago2 watchersCompare

[ Source](https://github.com/cviebrock/laravel-elasticsearch)[ Packagist](https://packagist.org/packages/cviebrock/laravel-elasticsearch)[ Docs](https://github.com/cviebrock/laravel-elasticsearch)[ GitHub Sponsors](https://github.com/cviebrock)[ RSS](/packages/cviebrock-laravel-elasticsearch/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (8)Versions (50)Used By (5)

Laravel-Elasticsearch
=====================

[](#laravel-elasticsearch)

An easy way to use the [official Elastic Search client](https://github.com/elastic/elasticsearch-php) in your Laravel or Lumen applications.

⚠️ This Package Is Abandoned
----------------------------

[](#️-this-package-is-abandoned)

Due to several factors, including the fact that I no longer use ES, I have ceased development on this package.

You are free to continue using it, but be aware that any issues or PRs you submit (including working with recent versions of Laravel), or any feature requests you have, will likely be ignored.

If you want to use a maintained version of this package, you can:

- [create a new fork](https://github.com/cviebrock/laravel-elasticsearch/fork)
- [use an existing fork](https://github.com/cviebrock/laravel-elasticsearch/forks)
- migrate to the package that has taken over development: **[mailerlite/laravel-elasticsearch](https://github.com/mailerlite/laravel-elasticsearch)**

Documentation
-------------

[](#documentation)

See [README-OLD.md](README-OLD.md) for how to use this package.

Copyright and License
---------------------

[](#copyright-and-license)

[laravel-elasticsearch](https://github.com/cviebrock/laravel-elasticsearch)was written by [Colin Viebrock](http://viebrock.ca) and is released under the [MIT License](LICENSE.md).

Copyright (c) 2015 Colin Viebrock

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity46

Moderate usage in the ecosystem

Community30

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 50.9% 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.

###  Release Activity

Cadence

Every ~62 days

Recently: every ~82 days

Total

48

Last Release

1071d ago

Major Versions

4.2.1 → 8.0.02020-09-10

4.1.x-dev → 8.0.12020-09-30

2.0.x-dev → 8.0.22020-12-02

8.0.7 → 9.0.02022-02-24

9.0.4 → 10.0.02023-02-18

PHP version history (8 changes)0.9.0PHP &gt;=5.4.0

3.0.0PHP ^7.0

4.0.0PHP ^7.1

4.1.0PHP ^7.2

4.2.0PHP ^7.2.5

8.0.0PHP ^7.3

8.0.4PHP ^7.3||^8.0

8.0.7PHP ^7.3|^8.0

### Community

Maintainers

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

---

Top Contributors

[![cviebrock](https://avatars.githubusercontent.com/u/166810?v=4)](https://github.com/cviebrock "cviebrock (58 commits)")[![nsaliu](https://avatars.githubusercontent.com/u/2877876?v=4)](https://github.com/nsaliu "nsaliu (11 commits)")[![petercoles](https://avatars.githubusercontent.com/u/2947594?v=4)](https://github.com/petercoles "petercoles (7 commits)")[![khoatran](https://avatars.githubusercontent.com/u/1765656?v=4)](https://github.com/khoatran "khoatran (4 commits)")[![Matrix86](https://avatars.githubusercontent.com/u/244997?v=4)](https://github.com/Matrix86 "Matrix86 (3 commits)")[![xian13](https://avatars.githubusercontent.com/u/2676750?v=4)](https://github.com/xian13 "xian13 (3 commits)")[![zeidanbm](https://avatars.githubusercontent.com/u/11070669?v=4)](https://github.com/zeidanbm "zeidanbm (2 commits)")[![Harrisonbro](https://avatars.githubusercontent.com/u/377366?v=4)](https://github.com/Harrisonbro "Harrisonbro (2 commits)")[![danieljaniga](https://avatars.githubusercontent.com/u/3395781?v=4)](https://github.com/danieljaniga "danieljaniga (2 commits)")[![bmartel](https://avatars.githubusercontent.com/u/2242258?v=4)](https://github.com/bmartel "bmartel (2 commits)")[![mjoshuase](https://avatars.githubusercontent.com/u/74452584?v=4)](https://github.com/mjoshuase "mjoshuase (1 commits)")[![Mushood](https://avatars.githubusercontent.com/u/17172604?v=4)](https://github.com/Mushood "Mushood (1 commits)")[![okdewit](https://avatars.githubusercontent.com/u/1403548?v=4)](https://github.com/okdewit "okdewit (1 commits)")[![pavel-pepper](https://avatars.githubusercontent.com/u/143077375?v=4)](https://github.com/pavel-pepper "pavel-pepper (1 commits)")[![PrinsFrank](https://avatars.githubusercontent.com/u/25006490?v=4)](https://github.com/PrinsFrank "PrinsFrank (1 commits)")[![ristedavcevski](https://avatars.githubusercontent.com/u/12125687?v=4)](https://github.com/ristedavcevski "ristedavcevski (1 commits)")[![shuvroroy](https://avatars.githubusercontent.com/u/21066418?v=4)](https://github.com/shuvroroy "shuvroroy (1 commits)")[![SirNarsh](https://avatars.githubusercontent.com/u/13707877?v=4)](https://github.com/SirNarsh "SirNarsh (1 commits)")[![stasadev](https://avatars.githubusercontent.com/u/24270994?v=4)](https://github.com/stasadev "stasadev (1 commits)")[![tufanbarisyildirim](https://avatars.githubusercontent.com/u/980848?v=4)](https://github.com/tufanbarisyildirim "tufanbarisyildirim (1 commits)")

---

Tags

clientsearchlaravelelasticsearch

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cviebrock-laravel-elasticsearch/health.svg)

```
[![Health](https://phpackages.com/badges/cviebrock-laravel-elasticsearch/health.svg)](https://phpackages.com/packages/cviebrock-laravel-elasticsearch)
```

###  Alternatives

[mailerlite/laravel-elasticsearch

An easy way to use the official PHP ElasticSearch client in your Laravel applications.

934529.3k2](/packages/mailerlite-laravel-elasticsearch)[elasticsearch/elasticsearch

PHP Client for Elasticsearch

5.3k178.3M943](/packages/elasticsearch-elasticsearch)[jeroen-g/explorer

Next-gen Elasticsearch driver for Laravel Scout.

397612.3k](/packages/jeroen-g-explorer)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15224.3M65](/packages/opensearch-project-opensearch-php)[gtk/larasearch

A driver based solution to searching your Eloquent models supports Laravel 5.2 and Elasticsearch engine.

133.9k](/packages/gtk-larasearch)

PHPackages © 2026

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