polysource / adapter-meilisearch
Polysource — Meilisearch adapter: browse, search, facet over Meilisearch indexes through the admin.
Package info
github.com/polysource/adapter-meilisearch
Type:symfony-bundle
pkg:composer/polysource/adapter-meilisearch
v1.1.1
2026-08-07 15:15 UTC
Requires
- php: >=8.2
- polysource/core: ^0.1 || ^0.2 || ^0.3 || ^0.4 || ^0.5 || ^0.6 || ^0.7 || ^0.8 || ^0.9 || ^0.10 || ^0.11 || ^1.0
- symfony/config: ^6.4 || ^7.0 || ^8.0
- symfony/dependency-injection: ^6.4 || ^7.0 || ^8.0
- symfony/http-kernel: ^6.4 || ^7.0 || ^8.0
Requires (Dev)
- meilisearch/meilisearch-php: ^1.0
- nyholm/psr7: ^1.8
- phpunit/phpunit: ^10.5 || ^11.5
- polysource/symfony-bundle: ^0.1 || ^0.2 || ^0.3 || ^0.4 || ^0.5 || ^0.6 || ^0.7 || ^0.8 || ^0.9 || ^0.10 || ^0.11 || ^1.0
Suggests
- meilisearch/meilisearch-php: Recommended client for the Meilisearch adapter (^1.0). Hosts can also wrap their own client through MeilisearchIndexInterface.
This package is auto-updated.
Last update: 2026-08-07 15:37:53 UTC
README
Meilisearch adapter for Polysource — browse, search, manually correct documents in Meilisearch indexes.
Part of the Polysource monorepo. MIT-licensed.
What it ships
MeilisearchIndexInterface(4 methods) — minimal abstraction over the Meilisearch client.MeilisearchPhpIndexClient— production implementation againstmeilisearch/meilisearch-php.MeilisearchDataSource— search-first design (Meilisearch is a search engine, not a CRUD store).- Filter property sanitisation — anti-injection via whitelist.
MeilisearchIndexResource— non-final convenience base.
Install
composer require polysource/adapter-meilisearch meilisearch/meilisearch-php
Register the bundle:
return [ Polysource\Adapter\Meilisearch\PolysourceAdapterMeilisearchBundle::class => ['all' => true], ];