Home > Backend Development > PHP Tutorial > thinkphp如何用composer

thinkphp如何用composer

WBOY
Release: 2016-06-13 12:19:37
Original
1178 people have browsed it

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

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template