ventusforge/neos-index-manager 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

ventusforge/neos-index-manager

最新稳定版本:0.0.1

Composer 安装命令:

composer require ventusforge/neos-index-manager

包简介

Index Manager for ElasticSearch/OpenSearch in Neos

README 文档

README

Client to manage indices.

How To Use

Define the authentication

# Settings.yaml
VentusForge:
  IndexManager:
    clients:
      default:
        host: 'opensearch'
        port: 9200
        scheme: 'https'
        # username: dev_foo_bar # optional
        # password: dev_foo_bar # optional
        sslCaInfo: '/client-certs/opensearch/root-ca.pem'
        sslKey: '/client-certs/dev_foo_bar-key.pem'
        sslCert: '/client-certs/dev_foo_bar.pem'

Select between username & password or a certification file.

Note: you can create an own IndexClientFactory and use the authentication from another settings (i.e. Flowpack.ElasticSearch.clients)

Inject the client

# Objects.yaml
'Foo.Bar:DefaultClient':
  className: VentusForge\IndexManager\IndexClient
  scope: singleton
  factoryObjectName: VentusForge\IndexManager\IndexClientFactoryInterface
  factoryMethodName: create
  arguments:
    1:
      value: default

and add the following to your service/controller.

<?php

namespace Foo\Bar\Service;

use VentusForge\IndexManager\IndexClient;

class SomeService
{
    /**
     * @Flow\Inject(name="Foo.Bar:DefaultClient")
     * @var IndexClient
     */
    protected $indexClient;
}

Testing

Run the functional tests to check if the client is working. This requires a user with the credentials: unittest_user:unittest_user and access to the index dev_unittest_user_*.

FLOW_CONTEXT=Testing bin/phpunit -c Packages/Application/VentusForge.IndexManager/Tests/FunctionalTests.xml

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2026-04-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固