This repository was archived by the owner on Feb 5, 2023. It is now read-only.

Description
Hi.
Trying to install the package and even though I have "elasticsearch/elasticsearch": "^8.4" installed, I get a very strange error.
> @php artisan package:discover --ansi
Exception
Please install the Elasticsearch PHP client: elasticsearch/elasticsearch.
at vendor/tamayo/laravel-scout-elastic/src/LaravelScoutElasticProvider.php:42
38▕ if (class_exists(ClientBuilder::class)) {
39▕ return;
40▕ }
41▕
➜ 42▕ throw new Exception('Please install the Elasticsearch PHP client: elasticsearch/elasticsearch.');
43▕ }
44▕ }
Using:
- Laravel Framework 9.46.0
- php 8.2
- elasticsearch/elasticsearch 8.4