承接 cmsig/seal-spiral-bridge 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

cmsig/seal-spiral-bridge

最新稳定版本:0.12.6

Composer 安装命令:

composer require cmsig/seal-spiral-bridge

包简介

An integration of CMS-IG SEAL search abstraction into Spiral Framework.

README 文档

README

Note: This is part of the cmsig/search project create issues in the main repository.

SEAL Logo with an abstract seal sitting on a telescope. Logo created by Meine Wilma

SEAL
Spiral Integration



Integration of the CMS-IG — Search Engine Abstraction Layer (SEAL) into Spiral.

Note: This project is heavily under development and any feedback is greatly appreciated.

Installation

Use composer for install the package:

composer require cmsig/seal-spiral-bridge

Also install one of the listed adapters.

List of adapters

The following adapters are available:

Additional Wrapper adapters:

Creating your own adapter? Add the seal-php-adapter Topic to your GitHub Repository.

Usage

The following code shows how to configure the package:

<?php // app/config/cmsig_seal.php return [ 'schemas' => [ 'app' => [ 'dir' => 'app/schemas', ], ], 'engines' => [ 'default' => [ 'adapter' => 'meilisearch://127.0.0.1:7700', ], ], ];

A more complex configuration can be here found:

<?php // app/config/cmsig_seal.php return [ 'schemas' => [ 'app' => [ 'dir' => 'app/schemas/app', 'engine' => 'meilisearch', ], 'other' => [ 'dir' => 'app/schemas/other', 'engine' => 'algolia', ], ], 'engines' => [ 'algolia' => [ 'adapter' => 'algolia://' . env('ALGOLIA_APPLICATION_ID') . ':' . env('ALGOLIA_ADMIN_API_KEY'), ], 'elasticsearch' => [ 'adapter' => 'elasticsearch://127.0.0.1:9200', ], 'loupe' => [ 'adapter' => 'loupe://var/indexes', ], 'meilisearch' => [ 'adapter' => 'meilisearch://127.0.0.1:7700', ], 'memory' => [ 'adapter' => 'memory://', ], 'opensearch' => [ 'adapter' => 'opensearch://127.0.0.1:9200', ], 'redisearch' => [ 'adapter' => 'redis://supersecure@127.0.0.1:6379', ], 'solr' => [ 'adapter' => 'solr://127.0.0.1:8983', ], 'typesense' => [ 'adapter' => 'typesense://S3CR3T@127.0.0.1:8108', ], // ... 'multi' => [ 'adapter' => 'multi://elasticsearch?adapters[]=opensearch', ], 'read-write' => [ 'adapter' => 'read-write://elasticsearch?write=multi', ], ], 'index_name_prefix' => '', 'reindex_providers' => [ \App\Search\BlogReindexProvider::class, ], ];

The default engine is available as Engine:

class Some { public function __construct( private readonly \CmsIg\Seal\EngineInterface $engine, ) { } }

Multiple engines can be accessed via the EngineRegistry:

class Some { private Engine $engine; public function __construct( private readonly \CmsIg\Seal\EngineRegistry $engineRegistry, ) { $this->engine = $this->engineRegistry->get('algolia'); } }

How to create a Schema file and use your Engine can be found SEAL Documentation.

Commands

The package provides the following commands:

Create configured indexes

php app.php cmsig:seal:index-create --help

Drop configured indexes

php app.php cmsig:seal:index-drop --help

Reindex indexes

php app.php cmsig:seal:reindex --help

Authors

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固