Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/php-cmsig/seal-memory-adapter

The MemoryAdapter writes the documents into a in memory array. Part of the https://github.com/php-cmsig/search project. READ-ONLY Repository
https://github.com/php-cmsig/seal-memory-adapter

cmsig php seal-adapter seal-php-adapter

Last synced: about 1 month ago
JSON representation

The MemoryAdapter writes the documents into a in memory array. Part of the https://github.com/php-cmsig/search project. READ-ONLY Repository

Awesome Lists containing this project

README

        


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 is part of the `cmsig/search` project create issues in the [main repository](https://github.com/php-cmsig/search).

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

## Installation

Use [composer](https://getcomposer.org/) for install the package:

```bash
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