Download the PHP package phpsrprogrammer/bagisto-vector-search without Composer
On this page you can find all versions of the php package phpsrprogrammer/bagisto-vector-search. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download phpsrprogrammer/bagisto-vector-search
More information about phpsrprogrammer/bagisto-vector-search
Files in phpsrprogrammer/bagisto-vector-search
Download phpsrprogrammer/bagisto-vector-search
More information about phpsrprogrammer/bagisto-vector-search
Files in phpsrprogrammer/bagisto-vector-search
Vendor phpsrprogrammer
Package bagisto-vector-search
Short Description Open-source semantic (vector) search, autosuggest, and related/up-sell fallback for Bagisto using Qdrant + fastembed (all self-hosted, no paid APIs).
License MIT
Package bagisto-vector-search
Short Description Open-source semantic (vector) search, autosuggest, and related/up-sell fallback for Bagisto using Qdrant + fastembed (all self-hosted, no paid APIs).
License MIT
Please rate this library. Is it a good library?
Informations about the package bagisto-vector-search
Rbk Vector Search for Bagisto
Open-source semantic (vector) search for Bagisto — 100% self-hosted, no paid APIs.
Stack: Qdrant (vector DB, Apache-2.0) + fastembed running BAAI/bge-small-en-v1.5 (ONNX, CPU) as a small local embedding service.
Features
- Semantic product search — overrides
ProductRepository::getAll()for the storefront search box (query is embedded → nearest vectors → results in relevance order, with category/price filters preserved). Falls back to Bagisto's DB search if the vector service is down. - Category-grouped autosuggest —
GET /vector-suggest?query=returns products grouped by category (name, price, image, attributes) served entirely from the Qdrant payload. - Vector-powered related & up-sell — overrides
/api/products/{id}/relatedand/up-sell: manual admin relations first, gap filled with vector nearest-neighbours (visibility-filtered). - Auto re-index — listens to
catalog.product.create/update/delete.after; keeps the index in sync on every product save.
Requirements
- Qdrant reachable at
VECTOR_QDRANT_URL(defaulthttp://127.0.0.1:6333). - Embedding service (fastembed FastAPI) at
VECTOR_EMBED_URL(defaulthttp://127.0.0.1:8500) exposingPOST /embed {texts, is_query}.
Install (local package)
- Add to root
composer.jsonautoload:"Rbk\\VectorSearch\\": "packages/Rbk/VectorSearch/src"thencomposer dump-autoload. - Register
Rbk\VectorSearch\Providers\VectorSearchServiceProvider::classinbootstrap/providers.php. -
Add env:
- Create the Qdrant collection (size 384, Cosine), then build the index:
Set VECTOR_SEARCH_ENABLED=false to cleanly revert to Bagisto's native search/related.
License
MIT
All versions of bagisto-vector-search with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
The package phpsrprogrammer/bagisto-vector-search contains the following files
Loading the files please wait ...