New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

dkvhin/laravel-filemanager

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dkvhin/laravel-filemanager

A file upload/editor intended for use with Laravel 5 and CKEditor / TinyMCE

Source
Packagist
Version
3.0.0
Version published
Total downloads
18
Maintainers
2
Created
Source

Laravel Filemanager

Latest Stable Version Total Downloads License

v1.8 released

  • Please follow the intructions in upgrade document.
  • Important changes :
    • Fix Windows compatibility (utf-8 file names and folder names).
    • New feature : Copy & Crop. Thanks gwleuverink.
    • Config document is refactored.

Security

It is important to note that if you use your own routes you must protect your routes to Laravel-Filemanager in order to prevent unauthorized uploads to your server. Fortunately, Laravel makes this very easy.

If, for example, you want to ensure that only logged in users have the ability to access the Laravel-Filemanager, simply wrap the routes in a group, perhaps like this:

Route::group(['middleware' => 'auth'], function () {
    Route::get('/laravel-filemanager', '\Dkvhin\LaravelFilemanager\controllers\LfmController@show');
    Route::post('/laravel-filemanager/upload', '\Dkvhin\LaravelFilemanager\controllers\UploadController@upload');
    // list all lfm routes here...
});

This approach ensures that only authenticated users have access to the Laravel-Filemanager. If you are using Middleware or some other approach to enforce security, modify as needed.

If you use the laravel-filemanager default route, make sure the auth middleware (set in config/lfm.php) is enabled and functional.

v2.0 progress

  • (done) Unit test
  • (done) Integrate with Laravel Storage
  • (done) Multiple selection
  • Configurable disk of storage
  • (in progress) Responsive design
  • (in progress) Config refactoring
  • (done) JSON APIs
  • Move to folder function
  • Applying MIME icon generator
  • (done) Bootstrap 4 support

Contributors & Credits

Developers / Maintainers

Contributors

  • All contibutors from GitHub. (issues / PR)
  • @taswler the original author of this package.
  • Nathan for providing security suggestions.

Credits

Keywords

image

FAQs

Package last updated on 07 Oct 2018

Related posts