Download the PHP package kvf77/manticore-query-builder without Composer
On this page you can find all versions of the php package kvf77/manticore-query-builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kvf77/manticore-query-builder
More information about kvf77/manticore-query-builder
Files in kvf77/manticore-query-builder
Package manticore-query-builder
Short Description A modern PHP query builder for Manticore Search (and Sphinx) speaking the SphinxQL dialect. A maintained fork of foolz/sphinxql-query-builder.
License Apache-2.0
Homepage https://github.com/kvf77/manticore-query-builder
Informations about the package manticore-query-builder
Manticore Query Builder
A modern PHP query builder for Manticore Search (and Sphinx) speaking the SphinxQL dialect over the MySQL protocol.
This is a maintained, modernised fork of
foolz/sphinxql-query-builder,
rebuilt for PHP 8.3+ with a cleaner WHERE compiler, OR/nested groups,
REGEX() support and first-class Laravel integration.
- Requires PHP 8.3+
- Drivers: PDO (default) or MySQLi
- No framework dependency in the core; optional Laravel bridge included
- Licensed under Apache-2.0 (see
LICENSEandNOTICE)
Documentation
Full docs live in docs/:
- Getting started
- SELECT & WHERE
- Full-text MATCH
- Facets — single/multiple/computed facets,
executeBatch(), the legend/stats pattern - Geo search — distance & polygon search
- Writing data
- Reading results
- Helpers & Percolate
- Laravel integration
- Migrating from foolz/sphinxql-query-builder
- Query listener — observe every Manticore query (the
DB::listen()counterpart) - Testing —
FakeConnection: canned results, recorded queries, no live index
Installation
Quick start (plain PHP)
WHERE: AND, OR and nested groups
Operators: = (default), comparison operators, IN, NOT IN, BETWEEN.
REGEX (Manticore)
Insert / Replace / Update / Delete
Laravel integration
The service provider is auto-discovered. Publish the config if you want to tweak it:
Set your connection in .env:
Use the facade:
Or resolve the manager / connection from the container:
Testing
The test suite verifies query compilation and does not require a running Manticore/Sphinx server.
Credits & license
Originally based on foolz/sphinxql-query-builder
by foolz, licensed under Apache-2.0. This fork retains that license; see LICENSE
and NOTICE for the full text and the list of changes.
All versions of manticore-query-builder with dependencies
ext-pdo Version *