Elastic Search Extinsion With Elastica

Hello everyone,

i have been integrating Yii with Elastic search (with Elastica PHP client), so far i have created an extension and it’s kind of working as expected for quering, pagination and sorting results, i would like to add this plugin to yii plugins, so i thought i would benifit from any suggestions, feedback or questions before i release it.

the extensions components are:

  • Elastica autoloader to load the clases and fix the classes files names.

  • A data provider that inherits CDataProvider.

  • Application component to get Elastica client and configure it easlly from the application configrations

  • the client files as i got them from github

what else can i do to make it better?