定制 dfo/elasticraft 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dfo/elasticraft

Composer 安装命令:

composer require dfo/elasticraft

包简介

Elasticsearch plugin for Craft 3

README 文档

README

Elasticsearch plugin for Craft 3

Installation

To install Elasticraft, follow these steps:

  1. Download & unzip the file and place the elasticraft directory into your craft/plugins directory
  2. -OR- do a git clone https://github.com/phoob/elasticraft.git directly into your craft/plugins folder. You can then update it with git pull
  3. -OR- install with Composer via composer require phoob/elasticraft
  4. Install plugin in the Craft Control Panel under Settings > Plugins
  5. The plugin folder should be named elasticraft for Craft to see it. GitHub recently started appending -master (the branch name) to the name of the folder for zip file downloads.

Elasticraft works on Craft 3.x.

Elasticraft Overview

Provides basic functionality to index entries and other craft elements to an elasticsearch server.

The plugin uses the Elasticesearch PHP Client.

Configuring Elasticraft

Copy src/config.php to craft/config/elasticraft.php and configure hosts and pagetransformers for the elements you wish to index to Elasticsearch.

Pagetransformers should inherit League\Fractal\TransformerAbstract – see examples in ./transformers/.

If you want, put the server details in your .env.:

ELASTIC_HOSTS=localhost:9200
ELASTIC_INDEX_NAME=craftdev

Using Elasticraft

Elasticraft indexes elements (and their descendants and ancestors) when you save or move an element. It also deletes the element from elasticsearch when the element is deleted in Craft.

Elasticraft Roadmap

  • Make it more stable and test it. It has not been used in a production environment yet.
  • Please note that the settings page and the widget is not in use currently. All settings are configured in the config file.

Brought to you by Peter Holme Obrestad

统计信息

  • 总下载量: 589
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 12
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 12
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-08-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固