Home  >  Article  >  Backend Development  >  thinkphp如何用composer

thinkphp如何用composer

WBOY
WBOYOriginal
2016-06-13 12:19:371053browse

thinkphp怎么用composer
要使用一下elasticsearch。试了一下在入口文件引入autoload.php然后在控制器里使用es的客户端,这个会出错。
Class 'Elasticsearch\Client' not found
------解决思路----------------------
如果正确加载了autoload不会出现这种问题
你看你的路径写的正确吗

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn