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

internetbug256's avatar

Laravel and Elasticsearch

Hi there. I wonder if someone has successfully connected Laravel 8 and Elasticsearch thru Eloquent. I've been trying each and every suggestion out there, and no ones seems to even install properly. I am using Elasticsearch installed in Debian (and working fine), and connecting remotely from another Linux machine.

So far I've tried:

Regards

0 likes
1 reply
internetbug256's avatar

Sooo, that bad is it? (cricket's sound in the background...)

Well, just an update. I have evaluated https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/index.html, which should be the low-level starting point to create a decent Laravel API.

So far, so good. The documentation is quite short, lack of good samples, but at least it works. I ended up with a recipy to make a very basic interface.

Let me know guys if you find something else. Regards

1 like

Please or to participate in this conversation.