1. Go to this page and download the library: Download crowles/laravel-filebrowser 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/ */
/*
|--------------------------------------------------------------------------
| Path
|--------------------------------------------------------------------------
|
| The path to scan for files and folders.
|
| You must use an absolute path.
|
*/
'path' => env('FILEBROWSER_PATH', ''),
/*
|--------------------------------------------------------------------------
| Root
|--------------------------------------------------------------------------
|
| The root diectory where you want to initialise the file browser
|
*/
'root' => env('FILEBROWSER_ROOT', ''),