PHP code example of cmsig / seal-loupe-adapter
1. Go to this page and download the library: Download cmsig/seal-loupe-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/ */
cmsig / seal-loupe-adapter example snippets
use Loupe\Loupe\LoupeFactory;
use CmsIg\Seal\Adapter\Loupe\LoupeAdapter;
use CmsIg\Seal\Adapter\Loupe\LoupeHelper;
use CmsIg\Seal\Engine;
$loupeFactory = new LoupeFactory();
$engine = new Engine(
new LoupeAdapter(new LoupeHelper($loupeFactory, 'var/indexes/')),
$schema,
);