If you need !owncloud or !nextcloud support in your #PHP application, you may want to try #gaufrette : https://knplabs.github.io/Gaufrette/adapters/open-cloud.html