ozdemir / vuefinder-php
Vuefinder Php Library.
Installs: 4 669
Dependents: 0
Suggesters: 0
Security: 0
Stars: 19
Watchers: 2
Forks: 13
Open Issues: 3
Requires
- league/flysystem: ^3.0
- league/flysystem-read-only: ^3.3
- league/flysystem-ziparchive: ^3.2
- symfony/http-foundation: ^7.0
README
php serverside library for vuefinder
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);