foolz/sphinxql-query-builder
ORDER BY KNN for semantic search (e.g., embeddings, AI-driven recommendations).Facet queries.executeBatch().DB::connection('sphinx')->select() with a fluent, type-safe API.Adopt if:
Look elsewhere if:
MATCH() queries) and raw SQL suffices."This package lets us adopt Sphinx/Manticore—an open-source, high-performance search engine—as a drop-in replacement for Elasticsearch or custom SQL, cutting cloud costs by ~70% while supporting advanced features like vector search (KNN) and faceted navigation. It integrates seamlessly with Laravel, reducing developer onboarding time by 50% compared to building a custom solution. The Apache 2.0 license ensures no vendor lock-in, and the active maintenance (last release: Dec 2025) guarantees long-term viability."
Key Outcomes:
*"This is a Laravel-compatible query builder for Sphinx/Manticore, offering:
SELECT, MATCH(), FACET, etc.ORDER BY KNN) for embeddings.Why Not Raw SQL?
DB facade or custom connections.Migration Path:
DB::select('MATCH(...)')) with the builder.Risks:
MATCH() vs. WHERE).Alternatives:
Recommendation: Pilot in a non-critical module (e.g., search-as-you-type) before full adoption."*
How can I help you explore Laravel packages today?