PHPackages                             ts/solr-explain-php - 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. ts/solr-explain-php

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

ts/solr-explain-php
===================

PHP explain library for apache solr

4.0.0(1y ago)0792[1 issues](https://github.com/timoschmidt/php-solr-explain/issues)MITPHPPHP ^8.2CI failing

Since Oct 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/timoschmidt/php-solr-explain)[ Packagist](https://packagist.org/packages/ts/solr-explain-php)[ Fund](https://www.typo3-solr.com/)[ RSS](/packages/ts-solr-explain-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (5)Versions (5)Used By (0)

PHP Solr Explain
================

[](#php-solr-explain)

[![Build Status](https://github.com/TYPO3-Solr/php-solr-explain/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/TYPO3-Solr/php-solr-explain/actions?query=branch%3Amain)[![Latest Stable Version](https://camo.githubusercontent.com/4e11452414d58ec969d66784d9dea106e82a72f2580e459072a4096d6293dc5e/68747470733a2f2f706f7365722e707567782e6f72672f6170616368652d736f6c722d666f722d7479706f332f7068702d736f6c722d6578706c61696e2f762f737461626c65)](https://packagist.org/packages/apache-solr-for-typo3/php-solr-explain)[![Latest Unstable Version](https://camo.githubusercontent.com/d3b6f8140fcff5624050104e8fd3a65b66d4c81d6938003a30db73beecf550eb/68747470733a2f2f706f7365722e707567782e6f72672f6170616368652d736f6c722d666f722d7479706f332f7068702d736f6c722d6578706c61696e2f762f756e737461626c65)](https://packagist.org/packages/apache-solr-for-typo3/php-solr-explain)[![License](https://camo.githubusercontent.com/4385fa3c18f34cbaa7153da1de6b55c6cb7ec543c2e02146ede5c6b8d0583191/68747470733a2f2f706f7365722e707567782e6f72672f6170616368652d736f6c722d666f722d7479706f332f7068702d736f6c722d6578706c61696e2f6c6963656e7365)](https://packagist.org/packages/apache-solr-for-typo3/php-solr-explain)[![Monthly Downloads](https://camo.githubusercontent.com/21ea0fa9999bc6da4e5788646c8f1ccafd512b8768bfd4d6265b306fd0b7d8ce/68747470733a2f2f706f7365722e707567782e6f72672f6170616368652d736f6c722d666f722d7479706f332f7068702d736f6c722d6578706c61696e2f642f6d6f6e74686c79)](https://packagist.org/packages/apache-solr-for-typo3/php-solr-explain)

Apache Solr retrieves a detailed explain output how the score of a result is calculated. This explain-result library is good for people who know how solr works, but it is also hard to understand.

php-solr-explain is a library that parses this explain output and calculates the impact of each field. Finally, this information can be used, e.g. to display a pie chart that shows the integrator which field had an impact on that match:

[![Pie chart with explain information](example.png)](example.png)

Thanks
======

[](#thanks)

- Thx to Michael Klapper  for helping on the initial version
- Solr.pl, Marek Rogoziński, Rafał Kuć

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance44

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 73.3% 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 ~652 days

Total

4

Last Release

445d ago

Major Versions

1.1.0 → 2.0.02021-09-10

2.0.0 → 3.0.02023-10-27

3.0.0 → 4.0.02025-02-28

PHP version history (4 changes)1.1.0PHP &gt;=7.0.0

2.0.0PHP &gt;=7.2.0

3.0.0PHP &gt;=7.4.0

4.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/5fabe34d62dfcd3a7e4d5216d0fbb905f7ab8367ca61759ef0d86f190e9e55a6?d=identicon)[timoschmidt](/maintainers/timoschmidt)

---

Top Contributors

[![dkd-kaehm](https://avatars.githubusercontent.com/u/25453927?v=4)](https://github.com/dkd-kaehm "dkd-kaehm (11 commits)")[![timohund](https://avatars.githubusercontent.com/u/964675?v=4)](https://github.com/timohund "timohund (3 commits)")[![michaelklapper](https://avatars.githubusercontent.com/u/272700?v=4)](https://github.com/michaelklapper "michaelklapper (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ts-solr-explain-php/health.svg)

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

###  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)
