Larameili package brings Eloquent-style models to Meilisearch chunks in Laravel
A new open-source Laravel package called Larameili allows developers to interact with Meilisearch indexes using an Active Record model pattern similar to Eloquent, without requiring database storage. The package addresses a common pain point where Laravel Scout's mirroring approach is ill-suited for document chunks that exist only in a search index. Larameili supports batch importing, partial updates, filter-based deletions, and hybrid keyword-plus-vector search via configurable embedders such as OpenAI. Developers can sync index settings to Meilisearch using a single Artisan command and paginate results directly into Laravel's LengthAwarePaginator. The package also provides a BelongsToEloquent resolver to lazily or eagerly load related database models from foreign keys stored on index documents.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in