Laravel Herd

Documentation for macOS


Set up Typesense for Laravel Scout

Typesense is a lightning-fast open source 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.

Screenshot of Typesense settings


Like with all Herd services, you can configure the port as well as the service name of your Typesense instance and add the following environment variables to your .env file.


When using the Typesense with Laravel Scout you will need to install the Typesense PHP SDK via the Composer package manager:

composer require typesense/typesense-php

You can find additional information about using Laravel Scout with Typesense in the Laravel documentation