aschaeffer/meilisearch-search-bundle
kernel.request) for real-time index updates, enabling features like live search or search-as-you-type.config/packages), and event system, minimizing boilerplate.config/packages/meilisearch.yaml.postPersist, postRemove, etc.time_elapsed in PHP for API calls).RetryStrategy) to fall back to legacy search if MeiliSearch fails.MeiliSearch\Bridge\Doctrine\IndexManager.cache:app) for search results or index snapshots.docker run -p 7700:7700 -v meili_data:/meili_data getmeili/meilisearch:v0.22.0
composer require aschaeffer/meilisearch-search-bundle
php bin/console make:meilisearch:config.config/packages/meilisearch.yaml):
meilisearch:
clients:
default:
host: 'http://localhost:7700'
api_key: '%env(MEILI_MASTER_KEY)%'
indexes:
products:
primary_key: id
fields: ['name', 'description', 'price']
settings:
typo_tolerance: lenient
@MeiliSearch\Indexable or configure via YAML:
meilisearch:
indexes:
products:
entities:
App\Entity\Product: ~
MeiliSearch\Bridge\Doctrine\Test\IndexManagerTestCase.meilisearch/meilisearch-php to avoid version skew.composer why-not to audit dependency conflicts.meilisearch.log) with Symfony’s Monolog./health endpoint.MEILI_MASTER_KEY./update-index).products_eu, products_us) or use MeiliSearch’s sharding (experimental).| Failure Scenario | Impact | **
How can I help you explore Laravel packages today?