Download the PHP package dmlab/module-typesense-search without Composer

On this page you can find all versions of the php package dmlab/module-typesense-search. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package module-typesense-search

DmLab_TypesenseSearch

Registers Typesense as a selectable Magento 2 search engine and implements the query side (L2 of the Typesense suite): it translates a Magento\Framework\Search\RequestInterface into a Typesense query and returns matched product IDs plus aggregations. A free, uncapped drop-in replacement for OpenSearch/Elasticsearch.

Since Magento 2.4 the engine also drives category listings and layered-navigation counts, so this one module serves quick search, advanced search, category listings and layered navigation. It reads only — writing documents and patching schema is typesense-indexer's job.

Install

Select Typesense

  1. Stores → Configuration → Catalog → Catalog Search.
  2. Set Search Engine to Typesense and fill in the connection fields (host / port / protocol / API key — owned by typesense-indexer). The connection is validated on save.
  3. Reindex: bin/magento indexer:reindex catalogsearch_fulltext.

Switching back to OpenSearch/Elasticsearch is reversible — pick the other engine and reindex. setup:install --search-engine=typesense --typesense-nodes=<host:port> --typesense-protocol=<http|https> works too (the API key is set in admin afterwards, via its encrypted backend).

Covered

Quick + advanced search · category listings · layered navigation (facet buckets + counts) · price ranges / dynamic intervals · typo-tolerant suggestions (honouring catalog/search/search_suggestion_*).

Not yet: synonyms (a later module). Constructs Typesense's grammar cannot express (wildcard / negated compound filters) degrade to an empty result rather than a wrong one; standard catalog flows never produce them. etc/search_engine.xml declares only what is implemented.

The QueryModifierInterface seam

Query building is a di-sorted pipeline, never a preference — so paid modules (merchandising, semantic) compose instead of colliding. The composite ships empty; add a step by merging into the modifiers array in di.xml:

Each QueryModifierInterface::modify(array $query, RequestInterface $request): array receives the previous step's payload; steps run in sortOrder.

Requirements

Magento 2.4.x · PHP 8.3–8.5 · a running Typesense server (connection owned by typesense-indexer).

License

OSL-3.0 © DMLab.


All versions of module-typesense-search with dependencies

PHP Build Version
Package Version
Requires php Version ~8.3.0||~8.4.0||~8.5.0
magento/framework Version >=103.0
dmlab/module-typesense-core Version >=0.0.1
dmlab/module-typesense-indexer Version >=0.0.1
magento/module-search Version >=101.0
magento/module-advanced-search Version >=100.0
magento/module-catalog-search Version >=102.0
magento/module-catalog Version >=104.0
magento/module-customer Version >=103.0
magento/module-store Version >=101.0
magento/module-config Version >=101.0
magento/module-elasticsearch Version >=101.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package dmlab/module-typesense-search contains the following files

Loading the files please wait ...