Support the ongoing development of Laravel.io →
Configuration Requests Authentication

I work on a laravel project, and I want to use Algolia search .

I'm using Laravel 5.8 , PHP 7.3.2, MySQL 5.7 , also I tried to use Algolia with plain PHP gave me the same error .

The Scout.php file :

'driver' => env('SCOUT_DRIVER', 'algolia'),
'queue' => env('SCOUT_QUEUE', true),
'algolia' => [
        'id' => env('ALGOLIA_APP_ID', 'MY-APP-ID'),
        'secret' => env('ALGOLIA_SECRET', 'MY-APP-SECRET'),
    ],

.env file :

ALGOLIA_APP_ID=MY-APP-ID
ALGOLIA_SECRET=MY-APP-SECRET
SCOUT_QUEUE = true

I double checked the values I entered as AppID and AdminID, I should be able to connect just fine , but it always says:

Impossible to connect, please check your Algolia Application Id.

I can connect and update data just fine when using Node.JS

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.