定制 lochmueller/seal 二次开发

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

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

lochmueller/seal

Composer 安装命令:

composer require lochmueller/seal

包简介

SEAL Search - Flexible integration of the Search Engine Abstraction Layer project

README 文档

README

SEAL Search - Flexible integration of the Search Engine Abstraction Layer (SEAL) project into TYPO3. Different index configurations and multiple possibilities. Use it with TYPO3 or for example with Meilisearch, Solr, Loupe, Typesense - without changing the integration. Have fun.

This extension was funded by the TYPO3 Association: community ideas I / community idea II & first blogpost / second blogpost

Requirements

Installation

  1. Install and configure the EXT:index extension
  2. Run composer require lochmueller/seal (note: This extension only works in composer mode)
  3. Optional: Install the right adapter if you want to use a specific engine (see below)
  4. Load the SiteSet lochmueller/seal in your site configuration
  5. Configure the search adapter via site configuration (DSN)
  6. Configure individual search options

Configuration

The extension is configured via the TYPO3 site configuration. The following options are available:

Option Default Description
sealSearchDsn typo3:// DSN for the search adapter
sealAutocompleteMinCharacters 3 Minimum characters for autocomplete
sealItemsPerPage 10 Items per page in search results

DSN Examples

typo3://                           # Local TYPO3 database adapter
loupe://var/loupe                  # Loupe file-based search
meilisearch://127.0.0.1:7700       # Meilisearch server
elasticsearch://127.0.0.1:9200     # Elasticsearch server
typesense://127.0.0.1:8108         # Typesense server
algolia://APP_ID:API_KEY           # Algolia cloud service
solr://127.0.0.1:8983              # Apache Solr server
opensearch://127.0.0.1:9200        # OpenSearch server
redisearch://127.0.0.1:6379        # RediSearch

Available Adapters

Install the adapter you need via composer:

Adapter Package
Memory (Testing) composer require cmsig/seal-memory-adapter
Loupe composer require cmsig/seal-loupe-adapter (Recommended)
Meilisearch composer require cmsig/seal-meilisearch-adapter
Elasticsearch composer require cmsig/seal-elasticsearch-adapter
Typesense composer require cmsig/seal-typesense-adapter
Algolia composer require cmsig/seal-algolia-adapter
Apache Solr composer require cmsig/seal-solr-adapter
OpenSearch composer require cmsig/seal-opensearch-adapter
RediSearch composer require cmsig/seal-redisearch-adapter
Read/Write Split composer require cmsig/seal-read-write-adapter
Multi Adapter composer require cmsig/seal-multi-adapter

CLI Commands

# Update the schema in all configured SEAL adapters
vendor/bin/typo3 seal:schema

Extension Structure

Directory Description
Adapter/ The SEAL TYPO3 Adapter for local database
Command/ CLI tools for schema management
Controller/ Frontend plugins
Engine/ Factory for engine creation
Event/ PSR-14 events of EXT:seal
EventListener/ Event listeners and connection to EXT:index
Exception/ Custom exceptions
Filter/ Search filter implementations
Handler/ Request handlers (e.g., autocomplete)
Middleware/ PSR-15 middleware stack
Pagination/ Fluid pagination based on SEAL Generator
Schema/ Schema structure management

Development

# Install dependencies
composer install

# Fix code style
composer code-fix

# Run static analysis (PHPStan level 8)
composer code-check

# Run unit tests
composer code-test

Credits

Thanks to SEAL for the nice idea and TYPO3 Association & TYPO3 Community for sponsoring the extension.

lochmueller/seal 适用场景与选型建议

lochmueller/seal 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.08k 次下载、GitHub Stars 达 10, 最近一次更新时间为 2025 年 09 月 02 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「search」 「typo3」 「seal」 「seal-adapter」 「search-client」 「cmsig」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 lochmueller/seal 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 lochmueller/seal 我们能提供哪些服务?
定制开发 / 二次开发

基于 lochmueller/seal 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 1.08k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 10
  • 点击次数: 5
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 10
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2025-09-02