Top 4 File Manager Packages For Laravel

File handling is one of the standard routines in most web projects, but it’s not that easy to build from scratch: file extensions, uploads, thumbnails, protection, etc. So there are a few useful packages on top of the Laravel Filesystem to help you.

1. UniSharp/laravel-filemanager

Released: October 2015
Downloads: 548 000
Last update: Jul 2019

This package adds a convenient file manager on top of TinyMCE or CKEditor.

They have awesome documentation here: https://unisharp.github.io/laravel-filemanager/

This File Manager is easy to install and they are bringing cloud support to their upcoming release.

2.  spatie/laravel-medialibrary
Released: August 2015
Downloads: 1.6M
Last update: Oct 2019

This one is a bit different. It’s not a graphical file manager, but it gives a collection of functions for quick handling of media / files in your Laravel app.

This package can associate all sorts of files with Eloquent models. It provides a simple API to work with. To learn all about it, head over to the extensive documentation.

Here are a few short examples of what you can do:

It can handle your uploads directly:

Want to store some large files on another filesystem? No problem:

The storage of the files is handled by Laravel’s Filesystem, so you can use any filesystem you like. Additionally the package can create image manipulations on images and pdfs that have been added in the medialibrary.

3. alexusmai/laravel-file-manager

Released: April 2018
Downloads: 8600
Last update: Oct 2019

Laravel File Manager

DEMO: Laravel File Manager

Vue.js Frontend: alexusmai/vue-laravel-file-manager

Features

  • Frontend on Vue.js – vue-laravel-file-manager
  • Work with the file system is organized by the standard means Laravel Flysystem:
    • Local, FTP, S3, Dropbox …
    • The ability to work only with the selected disks
  • Several options for displaying the file manager:
    • One-panel view
    • One-panel + Directory tree
    • Two-panel
  • The minimum required set of operations:
    • Creating files
    • Creating folders
    • Copying / Cutting Folders and Files
    • Renaming
    • Uploading files (multi-upload)
    • Downloading files
    • Two modes of displaying elements – table and grid
    • Preview for images
    • Viewing images
    • Full screen mode
  • More operations (v.2):
    • Audio player (mp3, ogg, wav, aac), Video player (webm, mp4) – (Plyr)
    • Code editor – (Code Mirror)
    • Image cropper – (Cropper.js)
    • Zip / Unzip – only for local disks
  • Integration with WYSIWYG Editors:
    • CKEditor 4
    • TinyMCE 4
    • TinyMCE 5
    • SummerNote
    • Standalone button
  • ACL – access control list
    • delimiting access to files and folders
    • two work strategies:
      • blacklist – Allow everything that is not forbidden by the ACL rules list
      • whitelist – Deny everything, that not allowed by the ACL rules list
    • You can use different repositories for the rules – an array (configuration file), a database (there is an example implementation), or you can add your own.
    • You can hide files and folders that are not accessible.
  • Events (v2.2)
  • Thumbnails lazy load
  • Dynamic configuration (v2.4)
  • Supported locales : ru, en, ar, sr, cs, de

4. barryvdh/laravel-elfinder
Released: January 2014
Downloads: 759
Last update: Oct 2019

In reality, this package is a Laravel-tailored wrapper for elFinder – an open-source web file manager written in JavaScript using jQuery and jQuery UI.

It uses Laravel’s Filesystem, and also can be integrated into TinyMCE and CKEditor

You can find elFinder documentation on their GitHub README file.

Sharing is caring!

1 thought on “Top 4 File Manager Packages For Laravel”

Leave a Comment

Your email address will not be published. Required fields are marked *