technige, ES|QL is a great new query language for #Elasticsearch, and my team is building integrations into the client libraries. Here's an overview of our #PHP integration that lets you turn your results into PHP objects.
https://www.elastic.co/search-labs/blog/esql-php-map-object-class