Add a Full-Text Search to your PHP Projects with TNTSearch

TNTSearch

What is TNTSearch?

TNTSearch is a full-text search (FTS) engine written entirely in PHP. A simple configuration allows you to add an amazing search experience in just minutes.

It supports stemming for English, Croatian, Arabic, Italian, Russian, Portuguese and Ukrainian.

TNT Search Features

  • Fuzzy search
  • Search as you type
  • Geo-search
  • Text classification
  • Stemming
  • Custom tokenizers
  • Bm25 ranking algorithm
  • Boolean search
  • Result highlighting
  • Dynamic index updates (no need to Yandex each time)
  • Easily deployable via Packagist.org

Installation

  • The easiest way to install TNTSearch is via composer:
composer require teamtnt/tntsearch

Requirements

Before you proceed, make sure your server meets the following requirements:

  • PHP >= 7.1
  • PDO PHP Extension
  • SQLite PHP Extension
  • mbstring PHP Extension

License

TNTSearch is an open-source project that is released under the MIT license.

Resources

  1. https://github.com/teamtnt/tntsearch