see this package: https://github.com/protonemedia/laravel-webdav require it in your laravel app and add the proper filesystems.php configs
then go to your nextcloud > apps > search for: "Sharing path"
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
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.
Please or to participate in this conversation.