PHPackages                             reprovinci/solr-php-client - 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. reprovinci/solr-php-client

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

reprovinci/solr-php-client
==========================

A PHP library for indexing and searching documents within an Apache Solr installation.

v1.0.3(12y ago)36243.3k↓45%16[1 PRs](https://github.com/reprovinci/solr-php-client/pulls)1BSD-3-ClausePHP

Since Oct 3Pushed 12y ago13 watchersCompare

[ Source](https://github.com/reprovinci/solr-php-client)[ Packagist](https://packagist.org/packages/reprovinci/solr-php-client)[ RSS](/packages/reprovinci-solr-php-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (1)

Apache Solr PHP client
======================

[](#apache-solr-php-client)

[![Build Status](https://camo.githubusercontent.com/212d3522f06a72eb7da8dedd036c23dcbdbfe77cfb7db79c02d839404c814866/68747470733a2f2f7472617669732d63692e6f72672f726570726f76696e63692f736f6c722d7068702d636c69656e742e706e67)](https://travis-ci.org/reprovinci/solr-php-client)

A PHP library for indexing and searching documents within an [Apache Solr](http://lucene.apache.org/solr/)installation.

This client library was forked from Donovan Jiménez' Google Code project:
Before that, it was hosted in Solr's issue tracker:

What is Apache Solr?
--------------------

[](#what-is-apache-solr)

> Solr is an open source enterprise search server based on the Lucene Java search library, with XML/HTTP and JSON APIs, hit highlighting, faceted search, caching, replication, a web administration interface and many more features. It runs in a Java servlet container such as Tomcat. For more information about Solr, please see the [Solr Web Page](http://lucene.apache.org/solr/). The project's [Wiki](http://wiki.apache.org/solr/) is the de facto starting point for information on how to install and configure Solr for your individual needs.

Features
--------

[](#features)

- Quering, deleting, optimizing.
- Support for both Solr 3 and Solr 4 through compatibility layers.
- Support for soft commit with Solr 4.

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

[](#installation)

### Composer (PHP 5 &gt;= 5.3.0)

[](#composer-php-5--530)

- [Getting started](http://getcomposer.org/doc/00-intro.md) with Composer
- `reprovinci/solr-php-client` on [Packagist](http://packagist.org/packages/reprovinci/solr-php-client)

Just `require` `reprovinci/solr-php-client`:

```
{
  "require": {
    "reprovinci/solr-php-client": "1.0.x"
  }
}
```

Testing
-------

[](#testing)

The code is automatically tested by [Travis](travis-ci.org/reprovinci/solr-php-client) after each push. Travis currently reports the following build status: [![Build Status](https://camo.githubusercontent.com/212d3522f06a72eb7da8dedd036c23dcbdbfe77cfb7db79c02d839404c814866/68747470733a2f2f7472617669732d63692e6f72672f726570726f76696e63692f736f6c722d7068702d636c69656e742e706e67)](https://travis-ci.org/reprovinci/solr-php-client).

If you want to test the code yourself, follow the following instructions:

### Composer (PHP 5 &gt;= 5.3.0)

[](#composer-php-5--530-1)

Just install dev dependencies and run PHPUnit:

```
composer install --dev
bin/phpunit tests
```

Credits
-------

[](#credits)

- Thanks to [@GZyl](https://github.com/GZyl) for fixing `` compatibility between Solr versions. [\#7](https://github.com/reprovinci/solr-php-client/issues/7)

Further Information
-------------------

[](#further-information)

Please see [Frequently Asked Questions](http://code.google.com/p/solr-php-client/wiki/FAQ)

Or, if you have usage questions, try posting to the [USER DISCUSSION GROUP](http://groups.google.com/group/php-solr-client).

Disclaimer
----------

[](#disclaimer)

This PHP library is not part of the Apache Solr project, nor is it maintained by the Apache Software Foundation. All linked Apache Solr documentation or logos remain the sole property of the Apache Solr project, its authors, and the Apache Software Foundation.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity44

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 98% 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 ~189 days

Total

4

Last Release

4408d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/37d958b5cb924f3a19e06edbd899d026dc38a7ce0ee0de84bc8e2eb7ca473784?d=identicon)[rjkip](/maintainers/rjkip)

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

---

Top Contributors

[![rjkip](https://avatars.githubusercontent.com/u/1734555?v=4)](https://github.com/rjkip "rjkip (48 commits)")[![GZyl](https://avatars.githubusercontent.com/u/928574?v=4)](https://github.com/GZyl "GZyl (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/reprovinci-solr-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/reprovinci-solr-php-client/health.svg)](https://phpackages.com/packages/reprovinci-solr-php-client)
```

###  Alternatives

[ruflin/elastica

Elasticsearch Client

2.3k50.4M203](/packages/ruflin-elastica)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15224.3M65](/packages/opensearch-project-opensearch-php)[mailerlite/laravel-elasticsearch

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

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

Massive Search Bundle

721.4M13](/packages/massive-search-bundle)[shyim/opensearch-php-dsl

OpenSearch/Elasticsearch DSL library

175.9M9](/packages/shyim-opensearch-php-dsl)[outl1ne/nova-multiselect-filter

Multiselect filter for Laravel Nova.

45802.7k3](/packages/outl1ne-nova-multiselect-filter)

PHPackages © 2026

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