tweedegolf/plantbundle
Composer 安装命令:
composer require tweedegolf/plantbundle
包简介
Bundle to work with tweede golf's YGA plant database in different projects.
README 文档
README
Bundle to work with the YGA plant database in different projects.
Installation
Using [Composer][composer] add the bundle to your requirements:
{
"require": {
"tweedegolf/plantbundle": "dev-master"
}
}
Configuration
Set the elastica_host and elastica_port parameters:
tweede_golf_plant:
elastica_host: 127.0.0.1
elastica_port: 9200
Set the following parameters for the plant database to their correct values in your parameters.yml
dbtool_driver
dbtool_host
dbtool_name
dbtool_user
Usage
- Use the command
bin/symfony elastica:refreshthat the bundle offers to build / refresh the plant search index - Use the PlantRetriever as repository for the plant database
- Use the PlantFinder (or extend it) to search in the plant search index
PlantRetriever and PlantProxy
todo
PlantFinder
todo
统计信息
- 总下载量: 835
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-04-03