Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

slayder's avatar

use laravel scout without algolia

Hey guys,

can we use laravel scout without algolia something like database drive or another thing?

sorry for bad english!

0 likes
6 replies
AlexanderWright's avatar

There are several Elasticsearch drivers too, but I don't think they are terribly mature yet...

2 likes
sincere0412's avatar

Awesome! Thanks, I too had a similar problem and this helped.

Robstar's avatar

@addorange Scout is intended to accept drivers. Apart from Agolia, there is TNT Search (https://github.com/teamtnt/laravel-scout-tntsearch-driver). There is even a MySql driver available at https://github.com/YABhq/laravel-scout-mysql-driver.

In summary, Scout needs a driver and will not work without one.

The Scout service provider, calls an "EngineManager" class (see https://github.com/laravel/scout/blob/3.0/src/EngineManager.php), which determines what driver to use. In particular see https://github.com/laravel/scout/blob/3.0/src/EngineManager.php#L53-L60 which fetches the driver from your scout config file.

6 likes

Please or to participate in this conversation.