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

nanadjei2's avatar

Algolia Search -> Command "php artisan scout:make-aggregator" is not defined.

Am trying out Algolia search and wanted to search across multiple models. Before I can be able to do that I need to run php artisan scout:make-aggregator NameOfAggregator but I keep getting this error in the terminal Command "scout:make-aggregator" is not defined..

0 likes
2 replies
ADEVO's avatar

I might be having an older version, but when I Have set up everything, I run a command php artisan scout:import "App\Citizens" That will generate necessary .index files in public folder.

Don't know if it will help to you.

Btw, a little tip, I use tntseach as a free alternative to algolia, https://github.com/teamtnt/laravel-scout-tntsearch-driver if you have time for experiments I suggest you to do that, might be useful.

nanadjei2's avatar
nanadjei2
OP
Best Answer
Level 4

composer require algolia/scout-extended

3 likes

Please or to participate in this conversation.