PHP code example of schranz-search / seal-memory-adapter

1. Go to this page and download the library: Download schranz-search/seal-memory-adapter library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

schranz-search / seal-memory-adapter example snippets




use Schranz\Search\SEAL\Adapter\Memory\MemoryAdapter;
use Schranz\Search\SEAL\Engine;

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