1. Go to this page and download the library: Download reliv/elfinder 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/ */
reliv / elfinder example snippets
return array(
'elfinder' => array(
'mounts' => array(
'defaults' => array(
'myNewMountPoint' => array (
//Mount point definition goes here.
//Minimum config below. See ElFinders "Connector
//configuration options" for more info
'roots' => array(
'driver' => 'LocalFileSystem',
'path' => '/path/to/files/',
'URL' => 'http://localhost/to/files/'
),
),
),
),
),
);