amb / tntsearch-component
Laminas component for TNTSearch
dev-main
2023-02-19 18:53 UTC
Requires
- php: ^8.0
- iampersistent/config-value-component: ^1.1
- teamtnt/tntsearch: ^3.0
Requires (Dev)
- codeception/codeception: ^5.0
- codeception/module-asserts: >1.0.0
This package is auto-updated.
Last update: 2024-10-19 22:29:36 UTC
README
Install
composer require amb/tntsearch-component
Set Up
In .env
TNTSEARCH_DRIVER= TNTSEARCH_HOST= TNTSEARCH_DATABASE= TNTSEARCH_USERNAME= TNTSEARCH_PASSWORD= TNTSEARCH_STORAGE= #optional, defaults to data/tntsearch TNTSEARCH_TOKENIZER= #optional TNTSEARCH_STEMMER=TeamTNT\TNTSearch\Stemmer\PorterStemmer::class #optional
In config/config.php
$aggregator = new ConfigAggregator([ ... \AMB\TNTSearch\ConfigProvider::class, ...