PHPackages                             pxslip/laravel-scout-solr - 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. pxslip/laravel-scout-solr

ActiveLibrary[Search &amp; Filtering](/categories/search)

pxslip/laravel-scout-solr
=========================

A driver for the Laravel Scout search tools, using Apache Solr for the backend

v2.3.0(1y ago)194.5k12[1 issues](https://github.com/pxslip/laravel-scout-solr/issues)[2 PRs](https://github.com/pxslip/laravel-scout-solr/pulls)MITPHPPHP ^7.1

Since Oct 17Pushed 1y agoCompare

[ Source](https://github.com/pxslip/laravel-scout-solr)[ Packagist](https://packagist.org/packages/pxslip/laravel-scout-solr)[ RSS](/packages/pxslip-laravel-scout-solr/feed)WikiDiscussions main Synced yesterday

READMEChangelog (10)Dependencies (5)Versions (42)Used By (0)

Solr Engine for Scout
=====================

[](#solr-engine-for-scout)

[![Latest Stable Version](https://camo.githubusercontent.com/f704fe3c80f9f282457e3bd8798f0dc2608e5050d22b13ad4a8f121b7679364c/68747470733a2f2f706f7365722e707567782e6f72672f7078736c69702f6c61726176656c2d73636f75742d736f6c722f76657273696f6e3f666f726d61743d666c6174)](https://packagist.org/packages/pxslip/laravel-scout-solr)[![Latest Unstable Version](https://camo.githubusercontent.com/7841705924d99f37b3333409e1c22924c80c13fb1624297df834a0674fb11c7b/68747470733a2f2f706f7365722e707567782e6f72672f7078736c69702f6c61726176656c2d73636f75742d736f6c722f762f756e737461626c653f666f726d61743d666c6174)](//packagist.org/packages/pxslip/laravel-scout-solr)[![Total Downloads](https://camo.githubusercontent.com/49cf5bf302e8a25f4047436e2fc5116dbc28465426a99b497a89293d82749e11/68747470733a2f2f706f7365722e707567782e6f72672f7078736c69702f6c61726176656c2d73636f75742d736f6c722f646f776e6c6f6164733f666f726d61743d666c6174)](https://packagist.org/packages/pxslip/laravel-scout-solr)

This engine provides the interface between Laravel Scout and a Solr instance.

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

[](#installation)

`composer require pxslip/laravel-scout-solr`

For Laravel &lt;= 5.4 the service provider should be registered in `config/app.php`

```
'providers' => [
    // ...other providers
    Scout\Solr\ScoutSolrServiceProvider::class,
]
```

Usage
-----

[](#usage)

As the engine uses some functionality that is not fully compatible with `Laravel\Scout\Builder` and `Laravel\Scout\Searchable` you will need to use the `Scout\Solr\Builder` and `Scout\Solr\Searchable` versions instead:

```
use Scout\Solr\Searchable;

class MyModel extends Model {
    use Searchable;
    ...
}

// and then to perform a search

MyModel::where(...)
    ->orWhere(...)
    ->facetField(...)
```

TO DO
-----

[](#to-do)

- Add bindings instead of just passing the string for better escaping
- Add nested querying to Builder
- Add nested querying to ScoutEngine
- Write tests

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 67% 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 ~71 days

Recently: every ~330 days

Total

30

Last Release

705d ago

Major Versions

v1.8.1 → v2.0.02021-06-15

PHP version history (2 changes)v1.0PHP ^7.0

v1.5.4PHP ^7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/408277?v=4)[Will K (pxslip)](/maintainers/pxslip)[@pxslip](https://github.com/pxslip)

---

Top Contributors

[![pxslip](https://avatars.githubusercontent.com/u/408277?v=4)](https://github.com/pxslip "pxslip (120 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (19 commits)")[![willkalming](https://avatars.githubusercontent.com/u/74443508?v=4)](https://github.com/willkalming "willkalming (19 commits)")[![krtek4](https://avatars.githubusercontent.com/u/963772?v=4)](https://github.com/krtek4 "krtek4 (12 commits)")[![rigestshala](https://avatars.githubusercontent.com/u/44037037?v=4)](https://github.com/rigestshala "rigestshala (7 commits)")[![rsh-beder-dev](https://avatars.githubusercontent.com/u/50103486?v=4)](https://github.com/rsh-beder-dev "rsh-beder-dev (2 commits)")

###  Code Quality

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/pxslip-laravel-scout-solr/health.svg)

```
[![Health](https://phpackages.com/badges/pxslip-laravel-scout-solr/health.svg)](https://phpackages.com/packages/pxslip-laravel-scout-solr)
```

###  Alternatives

[jeroen-g/explorer

Next-gen Elasticsearch driver for Laravel Scout.

397612.3k](/packages/jeroen-g-explorer)[teamtnt/laravel-scout-tntsearch-driver

Driver for Laravel Scout search package based on https://github.com/teamtnt/tntsearch

1.1k2.5M28](/packages/teamtnt-laravel-scout-tntsearch-driver)[algolia/scout-extended

Scout Extended extends Laravel Scout adding algolia-specific features

4186.3M6](/packages/algolia-scout-extended)[romanstruk/manticore-scout-engine

Laravel Manticore Scout Engine

4818.1k](/packages/romanstruk-manticore-scout-engine)[devnoiseconsulting/laravel-scout-postgres-tsvector

PostgreSQL Full Text Search Driver for Laravel Scout

58110.1k](/packages/devnoiseconsulting-laravel-scout-postgres-tsvector)[baijunyao/laravel-scout-elasticsearch

Elasticsearch Driver for Laravel Scout

8023.7k1](/packages/baijunyao-laravel-scout-elasticsearch)

PHPackages © 2026

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