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

swim360's avatar

Fetch files from nextcloud storage and display in laravel website

I need to fetch files from nextcloud server and display them in my laravel website like we do with google drive console and get all the files.

https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html#accessing-files-using-curl Here in next cloud official documentation they gave multiples options to communicate via webdav.

Now for webdav I have installed sabre/dav but I am not able to connect and neither i am able to send curl requests. In fact I cannot understand how the flow needs to be made.

If anyone has an idea how I will connect webdav and send curl requests to next cloud. I am badly stuck here.

0 likes
1 reply

Please or to participate in this conversation.