php serverside library for vuefinder
frontend (vue3) : https://github.com/n1crack/vuefinder
composer require ozdemir/vuefinder-php
require '../vendor/autoload.php';
use Ozdemir\VueFinder\Vuefinder;
use League\Flysystem\Local\LocalFilesystemAdapter;
// Set VueFinder class
$vuefinder = new VueFinder([
'local' => new LocalFilesystemAdapter(dirname(__DIR__).'/storage'),
'test' => new LocalFilesystemAdapter(dirname(__DIR__).'/test'),
]);
$config = [
'publicLinks' => [
'local://public' => 'http://example.test',
],
];
// Perform the class
$vuefinder->init($config);