Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

einsteinpp's avatar

Working with files and directories

Hello,

For a project I need to create an application where you can upload files and download a folder containing thoses files.

I don't really know how to organise myself since the main folder contain more than 50 sub folders (the original folder have only 6 but they all have children who have children etc ..).

Basicly I want to be able to create a new "structure" (all thoses empty folders) then upload any files i want in any folders i want.

I know how to do it using the laravel file system but I wonder if it exist a better solution, maybe a package i didn't know or something ?

Thanks

0 likes
6 replies
einsteinpp's avatar

@KNUBBE82 - Yeah i found this article when I was googling around but it doesn't fit my purpose.

einsteinpp's avatar

@KNUBBE82 - yeah that's what I was thinking at first. I think i've no other choices

1 like
einsteinpp's avatar

@KNUBBE82 - I don't think that's really usefull because it's super specific to my project. You can't create the folders you want, you can put file only on the last level folders you can't upload more than 5 files per folders etc ...

Please or to participate in this conversation.