basemkhirat/elasticsearch

Incompatible with laravel/scout ^5

Closed this issue · 3 comments

This package does not work with laravel scout after version 4, where they changed the interface for the Laravel\Scout\Engines\Engine abstract class. I think the composer.json file should be updated to reflect this so it won't let you install it with incompatible peers.

You can see it was introduced in laravel/scout@9f06b9c

If you are willing, I would be able to provide a PR to add the conflict key to the composer to rectify this.

I have exactly the same issue:

Symfony\Component\Debug\Exception\FatalErrorException
Declaration of Basemkhirat\Elasticsearch\ScoutEngine::map($results, $model) must be compatible with Laravel\Scout\Engines\Engine::map(Laravel\Scout\Builder $builder, $results, $model)

Just now, i have the same probem, can anybody help us?

Seems like this might be unmaintained. I'm going to close this issue to clear out my own backlog