承接 cmsig/seal-memory-adapter 相关项目开发

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

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

cmsig/seal-memory-adapter

最新稳定版本:0.12.6

Composer 安装命令:

composer require cmsig/seal-memory-adapter

包简介

An adapter to support to write into memory for cmsig/seal search abstraction.

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
Memory Adapter



The MemoryAdapter write the documents into an in-memory array.

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

Installation

Use composer for install the package:

composer require cmsig/seal cmsig/seal-memory-adapter

Usage

It is mostly used for testing purposes and as a reference implementation.

The following code shows how to create an Engine using this Adapter:

<?php

use CmsIg\Seal\Adapter\Memory\MemoryAdapter;
use CmsIg\Seal\Engine;

$engine = new Engine(
    new MemoryAdapter(),
    $schema,
);

Via DSN for your favorite framework:

memory://

Authors

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-16