PHPackages                             fbf/laravel-solarium - 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. [API Development](/categories/api)
4. /
5. fbf/laravel-solarium

ActiveLibrary[API Development](/categories/api)

fbf/laravel-solarium
====================

Laravel Framework package for using Solarium

v0.1.5(11y ago)285.6k14[1 issues](https://github.com/FbF/Laravel-Solarium/issues)MITPHPPHP &gt;=5.3.0

Since Jan 9Pushed 11y ago6 watchersCompare

[ Source](https://github.com/FbF/Laravel-Solarium)[ Packagist](https://packagist.org/packages/fbf/laravel-solarium)[ RSS](/packages/fbf-laravel-solarium/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (2)Versions (7)Used By (0)

Laravel-Solarium
================

[](#laravel-solarium)

Laravel Framework package for using Solarium

Features
--------

[](#features)

- Observes your app's models for inserts, updates and deletes and stores data in a Solr index
- Supports multiple Solr cores, so you can have different models saving to different cores, or the same model to multiple cores. Useful if you have multiple search facilities in your app, e.g. product search function and general site search.
- Includes route (configurable URI) and controller for querying a site search core.
- Includes sample site search results view, which you can use, if you want, but you'll most likely want to just use the partial views...
- Partial view for site search form that you could include in your layout header
- Partial view for the site search results that you can include from your custom search results view

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

[](#installation)

### Setting up Solr

[](#setting-up-solr)

Download the latest version of solr :

Unpackage : `tar xvzf solr-4.*.*.tgz`

Copy the example directory and rename it in this case : site-search

Then rename the collection1 directory to what you would like to call your index.

In this case the index will be called search.

If you require more than one index, then copy and rename the site-search folder.

Then update the solr.xml file to tell the solr server how many indexes you have and their names.

for example :

```

    ${socketTimeout:0}
    ${connTimeout:0}

```

Now for each created index folder you need to update the schema.xml and solrconfig.xml files in the index config folder.

example schema.xml file :

```

  id

  title

```

example solrconfig.xml :

This is best created by copying the matching folder in the provided example directory.

```

  4.5

  ${solr.search.data.dir:}

      ${solr.search.data.dir:}

      true

      solrpingquery

      all

    solr

```

You will also need to update the core.properties file in the index folder :

The contents are very simple e.g. :

`name=search`

Then run `sudo java -jar start.jar` in the index directory.

This will start the solr server, which if configured correctly should be viewable at :

### Getting the laravel-solarium package

[](#getting-the-laravel-solarium-package)

Add the following to your composer.json file if using composer :

```
"require": {
  "fbf/laravel-solarium": "dev-master"
},
```

and then do a `composer update`

Add the ServiceProvider in `app/config/app.php`

`'Fbf\LaravelSolarium\LaravelSolariumServiceProvider'`

Publish the config file:

`php artisan config:publish fbf/laravel-solarium`

Edit the config file.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity52

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

Recently: every ~53 days

Total

6

Last Release

4059d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/39ad62ffbe6beacbbac746bd0a3211d7aafb7425ba2ddaf41e954b7d9037d4c6?d=identicon)[zenekp](/maintainers/zenekp)

---

Top Contributors

[![zenekp](https://avatars.githubusercontent.com/u/2039101?v=4)](https://github.com/zenekp "zenekp (2 commits)")[![dpgover](https://avatars.githubusercontent.com/u/5347955?v=4)](https://github.com/dpgover "dpgover (1 commits)")[![mozmorris](https://avatars.githubusercontent.com/u/156303?v=4)](https://github.com/mozmorris "mozmorris (1 commits)")[![neilcrookes](https://avatars.githubusercontent.com/u/24232?v=4)](https://github.com/neilcrookes "neilcrookes (1 commits)")

### Embed Badge

![Health badge](/badges/fbf-laravel-solarium/health.svg)

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

###  Alternatives

[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[mll-lab/laravel-graphiql

Easily integrate GraphiQL into your Laravel project

683.2M9](/packages/mll-lab-laravel-graphiql)[spatie/laravel-route-discovery

Auto register routes using PHP attributes

23645.0k2](/packages/spatie-laravel-route-discovery)[esign/laravel-conversions-api

A laravel wrapper package around the Facebook Conversions API

69145.4k](/packages/esign-laravel-conversions-api)[didww/didww-api-3-php-sdk

PHP SDK for DIDWW API 3

1218.2k](/packages/didww-didww-api-3-php-sdk)[surface/laravel-webfinger

A Laravel package to create an ActivityPub webfinger.

113.8k](/packages/surface-laravel-webfinger)

PHPackages © 2026

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