为Elasticsearch手动安装PHP API库

I downloaded this php api package from github

https://github.com/elastic/elasticsearch-php/tree/2.0

but I am having a hard time installing it. I unfortunately dont have permission to use the composer/auto-loader from where I work so I have to do it manually. Is there a way of doing this?

Thanks for your help.

The classes look pretty well formatted PSR-4 so you should be able to just download the directorysrc/Elasticsearch, and make a simple autoloader of your own and register it (assuming you don't already have one setup to serve classes that adhere to PSR-4).

Here's some options: http://www.php-fig.org/psr/psr-4/examples/

All the other directories seem to to be extraneous to running of the classes--for unit testing and benchmarking.