PHPackages                             visuellverstehen/t3meilisearch - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Search &amp; Filtering](/categories/search)
4. /
5. visuellverstehen/t3meilisearch

ActiveTypo3-cms-extension[Search &amp; Filtering](/categories/search)

visuellverstehen/t3meilisearch
==============================

Extension to use Meilisearch as search.

1.3.0(2y ago)37.8k↓41.7%[1 PRs](https://github.com/visuellverstehen/t3meilisearch/pulls)PHP

Since May 3Pushed 12mo ago7 watchersCompare

[ Source](https://github.com/visuellverstehen/t3meilisearch)[ Packagist](https://packagist.org/packages/visuellverstehen/t3meilisearch)[ RSS](/packages/visuellverstehen-t3meilisearch/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (11)Used By (0)

t3meilisearch
=============

[](#t3meilisearch)

Preparation
-----------

[](#preparation)

Install Meilisearch yourself and make sure it is running. Also make sure you get the host address the server is reachable at, because you will need to configure the extension with that host. Otherwhise the extension cannot communicate with Meilisearch.

You will also need `poppler-utils` in order to index PDF files.

Installation
------------

[](#installation)

You can easily install the extension by using Composer:

```
composer require visuellverstehen/t3meilisearch
```

You may have to activate the extension in TYPO3 10.4, but since TYPO3 11.5 this is not required anymore.

Configuration
-------------

[](#configuration)

Log into TYPO3 as an admin or systemmaintainer and go to the settings module. Adjust the configure for t3meilisearch by setting the following fields:

### Host

[](#host)

The address the Meilisearch server is reachable at. Optionaly including the port.

Example:

```
host=127.0.0.1:7700

```

### Api

[](#api)

The key to authenticate the requests

Example:

```
apiKey=masterKey

```

### Target page uid

[](#target-page-uid)

The uid of the page where the main plugin lives (see [Usage](#usage)).

Example:

```
targetPid=56

```

### Index

[](#index)

You can define a custom index by replacing the default value provided by t3meilisearch.

Example:

```
index=content

```

Thats pretty much it. The extension will then index pages and pdfs after they've been cached.

Usage
-----

[](#usage)

It is recommended to create a new page which can be hidden but not disabled. Insert the plugin »Searchform with results (Pi1)«. This will show a search form and also results if available.

You can also use the »Searchform (Pi2)« plugin to only display a search form wich will redirect to the target page configured in the settings module. You may insert this plugin hardcoded into e.g. the footer like this:

```

```

### Parsing content

[](#parsing-content)

By default everything inbetween `` is beeing indexed. You can limit this by using two HTML comments just like indexed\_search does. If you use multiple blocks, only the first will be index.

```

This content will be indexed

This content will NOT be indexed
```

### Overriding templates

[](#overriding-templates)

Because it's a basic TYPO3 extension build using Extbase, you can easily override the default templates and use you own. First configure an additional location for your templates and partials in your TypoScript for TYPO3 to look in:

```
plugin.tx_t3meilisearch {
    view {
        templateRootPaths {
            5000 = EXT:custom_extension/Resources/Private/Templates/
        }
        partialRootPaths {
            5000 = EXT:custom_extension/Resources/Private/Partials/
        }
    }
}

```

Next you can copy and modify the default templates the way you like. It is important to replicate the namespace structure, otherwhise TYPO3 cannot find the templates and partials.

### Exclude pages from indexing

[](#exclude-pages-from-indexing)

You can disable the »Include in Search« checkbox when editing a page to prevent a page beeing indexed.

### Dropping the index

[](#dropping-the-index)

Want a clear start? You can simply execute a HTTP request to drop the index:

```
curl -H 'Authorization: Bearer yourApiKey' -X DELETE 'http://localhost:7700/indexes/documents'
```

A new index with the name configured in `$GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['t3meilisearch']['index']` will be created by t3meilisearch.

### Removing specific documents

[](#removing-specific-documents)

When there are old or unwanted results, you can easily remove the documents by executing a HTTP request. First find the `id` of the document by searching through the Meilisearch dashboard. Then you can execute the following request to delete a document:

```
curl -H 'Authorization: Bearer yourApiKey' -X DELETE 'http://localhost:7700/indexes/documents/documents/:id'
```

### Add sorting option

[](#add-sorting-option)

By default t3meilisearch sorts the results by crdate (filetime for PDFs) descending. You can add simple sorting options by adding a select:

```

    Sorting
    New first
    Old first

```

It is important that the sorting value is passed by the query key called `sorting`. The value is composed by `column-to-sort_direction-to-sort`. If you want more complex sorting you have to do it yourself.

### Add type filtering

[](#add-type-filtering)

By default we add a two type to documents. `page` for normale page content and `pdf` for PDF files. You could index records yourself and add custom types. Filtering for types can be achieved by passing a `types` parameter:

```
 f:for(each: '{queryParams.types}', as: 'type')}>
Allgemein
```

---

Meilisearch has an easy API to use: [docs.meilisearch.com](https://docs.meilisearch.com/reference/api/)

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~146 days

Recently: every ~180 days

Total

6

Last Release

735d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/57dcd9370600b66b5ad7d99dd2b633e36d3a9458e656d650045f5f5eaf540e2d?d=identicon)[visuellverstehen](/maintainers/visuellverstehen)

---

Top Contributors

[![runepiper](https://avatars.githubusercontent.com/u/4521147?v=4)](https://github.com/runepiper "runepiper (74 commits)")[![malteriechmann](https://avatars.githubusercontent.com/u/656568?v=4)](https://github.com/malteriechmann "malteriechmann (13 commits)")[![timonschoenfeld](https://avatars.githubusercontent.com/u/8083819?v=4)](https://github.com/timonschoenfeld "timonschoenfeld (1 commits)")[![yam3n404](https://avatars.githubusercontent.com/u/66124679?v=4)](https://github.com/yam3n404 "yam3n404 (1 commits)")

---

Tags

meilisearchmeilisearch-phptypo3typo3-cms-extension

### Embed Badge

![Health badge](/badges/visuellverstehen-t3meilisearch/health.svg)

```
[![Health](https://phpackages.com/badges/visuellverstehen-t3meilisearch/health.svg)](https://phpackages.com/packages/visuellverstehen-t3meilisearch)
```

###  Alternatives

[statamic-rad-pack/meilisearch

meilisearch search driver for Statamic

1661.7k](/packages/statamic-rad-pack-meilisearch)[apache-solr-for-typo3/tika

Apache Tika for TYPO3

10611.4k](/packages/apache-solr-for-typo3-tika)[fostercommerce/meilisearch-connect

114.5k](/packages/fostercommerce-meilisearch-connect)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
