Download the PHP package zzq/lumen-elasticsearch without Composer
On this page you can find all versions of the php package zzq/lumen-elasticsearch. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download zzq/lumen-elasticsearch
More information about zzq/lumen-elasticsearch
Files in zzq/lumen-elasticsearch
Download zzq/lumen-elasticsearch
More information about zzq/lumen-elasticsearch
Files in zzq/lumen-elasticsearch
Please rate this library. Is it a good library?
Informations about the package lumen-elasticsearch
以我开发的zero/lumen-elasticsearch包为例
注意本插件使用的是lumen框架
1.安装依赖
2.创建elasticsearch.php配置文件,文件内容如下:
注意:该elasticsearch.php配置文件的放置路径,应该跟你项目的database.php配置文件同级(这句话如果不理解的话,可以给我发邮件询问,[email protected])
3.lumen中注册服务
修改project/bootstrap/app.php
4.使用示例:
All versions of lumen-elasticsearch with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
elasticsearch/elasticsearch Version ^5.0
illuminate/support Version ~5
monolog/monolog Version ~1
elasticsearch/elasticsearch Version ^5.0
illuminate/support Version ~5
monolog/monolog Version ~1
The package zzq/lumen-elasticsearch contains the following files
Loading the files please wait ....