Skip to content

n1crack/vuefinder-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vuefinder-php

php serverside library for vuefinder

ezgif-1-b902690b76

frontend (vue3) : https://github.com/n1crack/vuefinder

Installation

composer require ozdemir/vuefinder-php

Usage

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);