felix_manea's avatar

Any good file management packages for Laravel 5?

Hi, I have been looking around for some time for a good file management package and tried to test a few as well, but they seem to be broken on a path like I use: http://localhost/my-cms/public/... , they usually have paths hardcoded in the code which sucks.

I have tested the following packages: https://github.com/guillermomartinez/filemanager-laravel https://github.com/tsawler/laravel-filemanager

So any suggestions would be great! Thanks!

0 likes
10 replies
Corez64's avatar

Laravel's filesystem service is good and support both local storage and cloud storage, is there anything that it is unable to do that you require?

3 likes
felix_manea's avatar

Corez64, this is good but does not have an interface. I need the user to be able to upload / delete / rename files and add / delete / rename directories in a certain directory. Is there any easy way to accomplish this? Thanks!

ohffs's avatar

@Corez64 do you mean you want a kind of web-based "explorer"/"finder" kind of system? Laravel won't do that for you. There are quite a few packages out there though - what was the problem with the ones you tested? A quick google search brings up https://github.com/ShyPixie/cute-php-explorer for instance - though you'd need to integrate it with laravel yourself.

khoatrand's avatar

laravel-elfinder is a good option. I have tried to integrate it to my own CMS and it's great. The good thing is: it's integrated with Laravel filesystem. It's the natural way to help us control how we should interact with the file structure without the need of storing file hierarchy structure in database like the other solutions. Actually, laravel-elfinder is just a Laravel package of elfinder. You can check it out. This library seems good and provides different options to configure in a flexible way.

I am still on the way to explore all of elfinder configuration to make it match to my own CMS. However, I would like to recommend it as the integration helps me do quickly and easy for me to control what I want.

Predje's avatar

@leanwebstart How do you actually upload files with that though? I saw someone asked the same question in the issues, but it wasn't answered yet, I'm in the same boat as in I can upload images but can't seem to find out how/where to upload files

Please or to participate in this conversation.