PHP code example of ibnujakaria / file-manager
1. Go to this page and download the library: Download ibnujakaria/file-manager 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/ */
ibnujakaria / file-manager example snippets
# routes/web.php
\FileManager::routes();
# or you can group it wherever you want
Route::prefix('admin')->group(function () {
\FileManager::routes();
})->middleware('auth:admin');
bash
php artisan vendor:publish --provider="Ibnujakaria\FileManager\FileManagerServiceProvider"