maze / modern-file-manager
This package is abandoned and no longer maintained.
No replacement package was suggested.
The only file manager you need.
Package info
github.com/g3ru1a/ModernFileManager
Language:JavaScript
pkg:composer/maze/modern-file-manager
dev-master
2020-02-20 14:24 UTC
Requires
- php: ^7.2
- ext-json: *
Requires (Dev)
- phpunit/phpunit: 8.5.x-dev
This package is auto-updated.
Last update: 2020-11-20 16:40:44 UTC
README
Preview
Installation
In your terminal of choice run these two commands:
composer require maze/modern-file-manager
php artisan vendor:publish --tag=public --force
Usage
To use this package you have to do two things:
1. Create the MFM Object
Use the Object at the top of your controller file
use MAZE\MFM\Models\MFM;
Add the following in your function
$path = str_replace('-', '/', 'path/to/main-directory);
$mfm = new MFM($path);
return view('example-view', ['mfm'=>$mfm]);
2. Include the blade view
Add the following in your view
@include("mfm::includable", ['mfm'=>$mfm])
Features
This package is a wip, here's what I've done so far and what I plan to add.
- Directory Tree
- Top Bar buttons (not functional)
- File box view
- File list view
- Create Files/Folders
- Edit Files/Folders
- Upload Files
- Download Files
- Compress Files
- Uncompress Files
- Copy/Paste/Cut/Delete Files/Folders
- Rename Files/Folders