PHP code example of xuandung38 / laravel-filemanager
1. Go to this page and download the library: Download xuandung38/laravel-filemanager 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/ */
xuandung38 / laravel-filemanager example snippets
Route::group(['middleware' => 'auth'], function () {
Route::get('/laravel-filemanager', '\Xuandung38\LaravelFilemanager\Controllers\LfmController@show');
Route::post('/laravel-filemanager/upload', '\Xuandung38\LaravelFilemanager\Controllers\UploadController@upload');
// list all lfm routes here...
});