maze/modern-file-manager

This package is abandoned and no longer maintained. No replacement package was suggested.

The only file manager you need.

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

dev-master 2020-02-20 14:24 UTC

This package is auto-updated.

Last update: 2020-11-20 16:40:44 UTC


README

Preview

enter image description here

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