Laravel/PHP public frontend for my cloud

I have NextCloud file storage and I want to create public interface for it. Unfortunately I do not understand how can access it and for example list files through php (laravel).
Could you please advise or bring up any example I could start from?

Use any webdav library (e.g. sabredav). That’s all there’s to it