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

sumonmselim's avatar

How to get all files from a folder of Digital Ocean Space

previously i was storing my files in local storage. Back then i used to get files of a folder like this

 $path = storage_path('app/public/'.$user_id.'/*json');

now i am saving my file in digital ocean space how can i get all files of a folder and iterate over files.

0 likes
1 reply

Please or to participate in this conversation.