PHPackages                             openregion/sphinxql-query-builder - 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. [Database &amp; ORM](/categories/database)
4. /
5. openregion/sphinxql-query-builder

ActiveLibrary[Database &amp; ORM](/categories/database)

openregion/sphinxql-query-builder
=================================

A PHP query builder for SphinxQL and ManticoreQL with MySQLi and PDO drivers.

5.0.0(3mo ago)0330Apache-2.0PHPPHP ^8.2CI passing

Since Oct 4Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/openregion/SphinxQL-Query-Builder)[ Packagist](https://packagist.org/packages/openregion/sphinxql-query-builder)[ Docs](https://github.com/openregion/SphinxQL-Query-Builder)[ RSS](/packages/openregion-sphinxql-query-builder/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

SphinxQL Query Builder
======================

[](#sphinxql-query-builder)

[![Latest Stable Version](https://camo.githubusercontent.com/485e34245edad1d4c5d1549120209136757804c8f724b963ddef45e7d6074775/68747470733a2f2f706f7365722e707567782e6f72672f6f70656e726567696f6e2f737068696e78716c2d71756572792d6275696c6465722f762f737461626c65)](https://packagist.org/packages/openregion/sphinxql-query-builder)[![Total Downloads](https://camo.githubusercontent.com/f884064a34b3cbbf611c697f49b426890103e7df03fbba745e5ab533f81e31a1/68747470733a2f2f706f7365722e707567782e6f72672f6f70656e726567696f6e2f737068696e78716c2d71756572792d6275696c6465722f646f776e6c6f616473)](https://packagist.org/packages/openregion/sphinxql-query-builder)

This a fork of [FoolCode's SphinxQL Query Builder](https://github.com/FoolCode/SphinxQL-Query-Builder). It seems like original one is no longer maintained.

A fluent PHP query builder for SphinxQL and ManticoreQL.

It supports:

- `SELECT`, `INSERT`, `REPLACE`, `UPDATE`, `DELETE`
- `MATCH()` building (including `MatchBuilder`)
- `FACET` queries
- batched/multi-queries
- helper commands (`SHOW`, `CALL`, maintenance operations)
- percolate workflows for Manticore
- both `mysqli` and `PDO` drivers

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

[](#installation)

```
composer require openregion/sphinxql-query-builder
```

Requirements:

- PHP 8.2+
- `mysqli` or `pdo_mysql`
- Running Sphinx Search or Manticore Search server

Quick Start
-----------

[](#quick-start)

```
