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

Please install the Elasticsearch PHP client: elasticsearch/elasticsearch but is installed #181

@abkrim

Description

@abkrim

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions