PHPackages                             itscript/sphinxsearch-query-log-parser - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. itscript/sphinxsearch-query-log-parser

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

itscript/sphinxsearch-query-log-parser
======================================

SphinxSearch query log parser

1.0.0(8y ago)167MITPHPPHP ^5.6 || ^7.0

Since Jul 28Pushed 8y ago3 watchersCompare

[ Source](https://github.com/ITScript/SphinxSearchQueryLogParser)[ Packagist](https://packagist.org/packages/itscript/sphinxsearch-query-log-parser)[ RSS](/packages/itscript-sphinxsearch-query-log-parser/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

SphinxSearchQueryLogParser
==========================

[](#sphinxsearchquerylogparser)

By default parser supports formats:

```
[Fri Jun 29 21:17:58 2007] 0.004 sec 0.004 sec [all/0/rel 35254 (0,20)] [lj] test
[Fri Jun 29 21:20:34 2007] 0.024 sec 0.024 sec [all/0/rel 19886 (0,20) @channel_id] [lj] test

```

Installation
============

[](#installation)

You can install directly via Composer:

```
$ composer require "itscript/sphinxsearch-query-log-parser":"^1.0"
```

Basic usage
-----------

[](#basic-usage)

```
$log_line = '[Fri Jun 29 21:17:58 2007] 0.004 sec 0.004 sec [all/0/rel 35254 (0,20)] [lj] test';

$parser = new \ITS\SphinxSearchQueryLogParser\Parser();

/** @var \ITS\SphinxSearchQueryLogParser\Log $log */
$log = $parser->parse($log_line);

// it is equal to
$log = (new \ITS\SphinxSearchQueryLogParser\Log())
    ->setQueryDate(new \DateTimeImmutable('2007-06-29 21:17:58'))
    ->setRealTime(0.004)
    ->setWallTime(0.004)
    ->setMatchMode('all')
    ->setFiltersCount(0)
    ->setSortMode('rel')
    ->setTotalMatches(35254)
    ->setOffset(0)
    ->setLimit(20)
    ->setIndexName('lj')
    ->setQuery('test');
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

3260d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/22a8e1dc4bbf850fdf22f23ac786c3218e29c8f1acd82b6357e5f6e05f513782?d=identicon)[utlime](/maintainers/utlime)

---

Top Contributors

[![utlime](https://avatars.githubusercontent.com/u/9943271?v=4)](https://github.com/utlime "utlime (3 commits)")

---

Tags

parsersphinxsearch

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/itscript-sphinxsearch-query-log-parser/health.svg)

```
[![Health](https://phpackages.com/badges/itscript-sphinxsearch-query-log-parser/health.svg)](https://phpackages.com/packages/itscript-sphinxsearch-query-log-parser)
```

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19139.2M44](/packages/mck89-peast)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9843.5k](/packages/sauladam-shipment-tracker)[moonshine/layouts-field

Field for repeating groups of fields for MoonShine

107.9k](/packages/moonshine-layouts-field)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

112.9k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

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