PHPackages                             laravel-enso/meili-search - 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. laravel-enso/meili-search

ActiveLibrary[Search &amp; Filtering](/categories/search)

laravel-enso/meili-search
=========================

Meilisearch integration for Laravel Enso

2.3.3(3mo ago)02091MITPHPPHP ^8.0

Since Sep 6Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/laravel-enso/meili-search)[ Packagist](https://packagist.org/packages/laravel-enso/meili-search)[ Docs](https://github.com/laravel-enso/meili-search)[ RSS](/packages/laravel-enso-meili-search/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (8)Versions (27)Used By (0)

Meili Search
============

[](#meili-search)

[![License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE)[![Stable](https://camo.githubusercontent.com/4083f882af1f9a1d4bf1738be6d36d7c426710d0f234a2dd5019cbdbe167a60f/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d656e736f2f6d65696c692d7365617263682f76657273696f6e)](https://packagist.org/packages/laravel-enso/meili-search)[![Downloads](https://camo.githubusercontent.com/1717a6880286df581cbfc6a2aa4ef7fcfd79c05c017556576f9af0b7509aac16/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d656e736f2f6d65696c692d7365617263682f646f776e6c6f616473)](https://packagist.org/packages/laravel-enso/meili-search)[![PHP](https://camo.githubusercontent.com/ef6afd4ccdaa708a9b1a0a353d6d03a13ca1f03887b8db701d4118dc30a6735a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e302532422d3737376262342e737667)](composer.json)[![Issues](https://camo.githubusercontent.com/013f832d6e4de24dd915a2b4398d4542b9eca9b0f1ce624892eb20587b03b2a4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6c61726176656c2d656e736f2f6d65696c692d7365617263682e737667)](https://github.com/laravel-enso/meili-search/issues)[![Merge Requests](https://camo.githubusercontent.com/e829130445f83821201f19f1e858bf04cd289c858cb7622204d2017aa3bc2975/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d70722f6c61726176656c2d656e736f2f6d65696c692d7365617263682e737667)](https://github.com/laravel-enso/meili-search/pulls)

Description
-----------

[](#description)

Meili Search adds the Enso integration layer for Meilisearch-backed search.

The package persists the runtime enablement flag, exposes the settings form used from the backoffice, and ships artisan commands for creating, importing, flushing, and deleting model indexes through Laravel Scout and the Meilisearch PHP client.

It is designed for Enso models that already implement Scout searchability and need application-controlled index lifecycle operations plus a backoffice toggle.

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

[](#installation)

Install the package:

```
composer require laravel-enso/meili-search
```

Run the package migrations:

```
php artisan migrate
```

Make sure the host application already has Laravel Scout configured with the `meilisearch` driver.

Features
--------

[](#features)

- Persists a single settings record used to enable or disable the Meilisearch integration.
- Registers the settings routes and form under `Integrations -> Meili Search -> Settings`.
- Provides commands for `index`, `import`, `flush`, and `delete` flows.
- Wraps the Meilisearch PHP client in a dedicated service for index lifecycle operations.
- Keeps the integration opt-in even when Scout is configured globally.

Usage
-----

[](#usage)

Enable the integration from the Meili Search settings screen or by updating the `meilisearch_settings` record.

The package expects searchable models to define a standard Scout configuration, including `searchableAs()` when custom index names are required.

Examples:

```
php artisan enso:meilisearch:index "App\\Models\\Product"
php artisan enso:meilisearch:import "App\\Models\\Product" --chunk=500
php artisan enso:meilisearch:flush "App\\Models\\Product"
php artisan enso:meilisearch:delete "App\\Models\\Product"
```

API
---

[](#api)

### HTTP routes

[](#http-routes)

- `GET api/integrations/meilisearch/settings`
- `PATCH api/integrations/meilisearch/settings/{settings}`

Route names:

- `integrations.meilisearch.settings.index`
- `integrations.meilisearch.settings.update`

### Artisan commands

[](#artisan-commands)

- `enso:meilisearch:index {model}`
- `enso:meilisearch:delete {model}`
- `enso:meilisearch:flush {model}`
- `enso:meilisearch:import {model} {--chunk=}`

### Service

[](#service)

- `LaravelEnso\\MeiliSearch\\Services\\MeiliSearch`

Behavior:

- creates indexes using the model `searchableAs()` name
- imports searchable records through Scout
- flushes Scout indexes
- deletes indexes directly from Meilisearch

Depends On
----------

[](#depends-on)

Required Enso packages:

- [`laravel-enso/core`](https://docs.laravel-enso.com/backend/core.html) [↗](https://github.com/laravel-enso/core)

Required external packages:

- [`laravel/scout`](https://github.com/laravel/scout) [↗](https://github.com/laravel/scout)
- [`meilisearch/meilisearch-php`](https://github.com/meilisearch/meilisearch-php) [↗](https://github.com/meilisearch/meilisearch-php)

Companion frontend package:

- [`@enso-ui/meili-search`](https://docs.laravel-enso.com/frontend/meili-search.html) [↗](https://github.com/enso-ui/meili-search)

Contributions
-------------

[](#contributions)

are welcome. Pull requests are great, but issues are good too.

Thank you to all the people who already contributed to Enso!

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance80

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 60.7% 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 ~77 days

Recently: every ~1 days

Total

23

Last Release

105d ago

Major Versions

1.1.7 → 2.0.02022-02-25

PHP version history (2 changes)1.0.0PHP &gt;=8.0

2.1.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16073274?v=4)[Adrian Ocneanu](/maintainers/aocneanu)[@aocneanu](https://github.com/aocneanu)

---

Top Contributors

[![aocneanu](https://avatars.githubusercontent.com/u/16073274?v=4)](https://github.com/aocneanu "aocneanu (17 commits)")[![gandesc](https://avatars.githubusercontent.com/u/14071925?v=4)](https://github.com/gandesc "gandesc (4 commits)")[![GITmanuela](https://avatars.githubusercontent.com/u/44998004?v=4)](https://github.com/GITmanuela "GITmanuela (3 commits)")[![AbdullahiAbdulkabir](https://avatars.githubusercontent.com/u/33360580?v=4)](https://github.com/AbdullahiAbdulkabir "AbdullahiAbdulkabir (2 commits)")[![vmcvlad](https://avatars.githubusercontent.com/u/37445394?v=4)](https://github.com/vmcvlad "vmcvlad (2 commits)")

---

Tags

searchmeilisearchenso

### Embed Badge

![Health badge](/badges/laravel-enso-meili-search/health.svg)

```
[![Health](https://phpackages.com/badges/laravel-enso-meili-search/health.svg)](https://phpackages.com/packages/laravel-enso-meili-search)
```

###  Alternatives

[jeroen-g/explorer

Next-gen Elasticsearch driver for Laravel Scout.

399693.0k](/packages/jeroen-g-explorer)[statamic-rad-pack/meilisearch

meilisearch search driver for Statamic

1681.3k](/packages/statamic-rad-pack-meilisearch)[rapidez/core

Rapidez Core

1824.4k80](/packages/rapidez-core)[medienreaktor/meilisearch

Integrates Meilisearch into Neos.

101.2k1](/packages/medienreaktor-meilisearch)[omure/scout-advanced-meilisearch

Laravel Scout extension that allows to use meilisearch advanced features as well as has an extended collection driver for testing purposes.

123.9k](/packages/omure-scout-advanced-meilisearch)

PHPackages © 2026

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