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.
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!
@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.
I had a similar need and ended up building something using Dropzone.js. I just added support for creating directories using https://github.com/etrepat/baum. Take a look and see if it meets your needs:
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.
@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