PHPackages                             jitenderrawal/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. jitenderrawal/laravel-solarium

ActiveLibrary[API Development](/categories/api)

jitenderrawal/laravel-solarium
==============================

Laravel Framework package for using Solarium

v0.1.5(11y ago)0421MITPHPPHP &gt;=5.3.0

Since Jan 9Pushed 9y ago1 watchersCompare

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

READMEChangelogDependencies (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

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community14

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

4107d ago

### Community

Maintainers

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

---

Top Contributors

[![abergamasco](https://avatars.githubusercontent.com/u/101906143?v=4)](https://github.com/abergamasco "abergamasco (3 commits)")[![jitenderrawal](https://avatars.githubusercontent.com/u/9172818?v=4)](https://github.com/jitenderrawal "jitenderrawal (3 commits)")[![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/jitenderrawal-laravel-solarium/health.svg)

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

###  Alternatives

[defstudio/telegraph

A laravel facade to interact with Telegram Bots

815320.5k3](/packages/defstudio-telegraph)[riclep/laravel-storyblok

A Laravel wrapper around the Storyblok API to provide a familiar experience for Laravel devs

6277.0k5](/packages/riclep-laravel-storyblok)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1348.1k1](/packages/jasara-php-amzn-selling-partner-api)[rapidez/core

Rapidez Core

1822.4k65](/packages/rapidez-core)

PHPackages © 2026

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