Documentation for macOS
#Set up Meilisearch for Laravel Scout
Meilisearch is a powerful search engine for your application, working perfectly with Laravel Scout. It allows you to add a search engine with great relevancy, typo correction, and more to your application by simply adding the Searchable
Trait to a model.
#Configuration
Like with all Herd services, you can configure the port as well as the service name of your Meilisearch instance and add the following environment variables to your .env
file.
SCOUT_DRIVER=meilisearchMEILISEARCH_HOST=http://127.0.0.1:7700MEILISEARCH_KEY=LARAVEL-HERD
When using the Meilisearch driver you will need to install the Meilisearch PHP SDK via the Composer package manager:
composer require meilisearch/meilisearch-php http-interop/http-factory-guzzle
You can find additional information about using Laravel Scout with Meilisearch in the Laravel documentation.
#Dashboard
You can access the Meilisearch dashboard via http://locahost:port
or by using the dashboard button in the services list.