What the Deuce?

Sherlock is a PHP (>=5.3.0) client for ElasticSearch. Sherlock provides an easy, simple interface to search and manage your ElasticSearch cluster.

Philosophy

Few class names to remember, intuitive interface, one-to-one mapping with ES Query DSL, high performance.

Code like you have magic powers.

Flexibility

Sherlock provides a robust, powerful ORM-like interface to ElasticSearch.

But hey, you're a free spirit. We respect that. Sherlock accepts associative arrays or even raw JSON. Use as much, or as little, of the ORM as you need.