Home >Backend Development >PHP Tutorial >thinkphp怎么用composer

thinkphp怎么用composer

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-23 13:34:571152browse

要使用一下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