PHPackages                             satana.konst/next-cloud-web-dav-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. satana.konst/next-cloud-web-dav-sdk

ActiveLibrary[API Development](/categories/api)

satana.konst/next-cloud-web-dav-sdk
===================================

Sdk for NextCloud WebDav Api

0.1.2(5y ago)0302GPL-3.0-or-laterPHPPHP ^7.0

Since Jun 16Pushed 4y ago1 watchersCompare

[ Source](https://github.com/SatanaKonst/next-cloud-web-dav-sdk)[ Packagist](https://packagist.org/packages/satana.konst/next-cloud-web-dav-sdk)[ RSS](/packages/satanakonst-next-cloud-web-dav-sdk/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

\#NextCloudWebDavSdk# Обертка на классы WebDav и Share

$sdk = new \\NextCloudWebDavSdk\\NextCloudWebDavSdk( '', 'login', 'pass' ); $response = $sdk-&gt;webDav-&gt;getListingFolder(); $response = $sdk-&gt;share-&gt;createShare();

Все методы классов расписаны ниже.

\##WebDav##

Документация по работе с WebDav [https://docs.nextcloud.com/server/latest/developer\_manual/client\_apis/WebDAV/index.html](https://docs.nextcloud.com/server/latest/developer_manual/client_apis/WebDAV/index.html)

\###Авторизация### $webDav = new \\NextCloudWebDavSdk\\WebDav\\Server( 'host', 'login', 'pass' );

\###Получить список файлов### $response = $webDav-&gt;getListingFolder( '/path/to/file' );

\###Скачать файл### $response = $webDav-&gt;downloadFile( '/path/to/download/file', 'path/to/save/file' );

\###Загрузка файлов### $response = $webDav-&gt;uploadFile( 'path/to/upload/file/test\_upload\_pdf.pdf', '/path/for/save/file/' );

\###Создать папку### $response = $webDav-&gt;createFolder( '/path/to/new/folder/', );

\###Удалить файл или директорию### $response = $webDav-&gt;removeFileOrDirectory( '/path/to/file/or/directory', );

\###Переместить файл или дирректорию### $response = $webDav-&gt;moveFileOrDirectory( '/path/file/to/move', '/path/file/to/destination' );

\###Копировать файл или директорию### $response = $webDav-&gt;copyFileOrDirectory( '/path/file/to/copy', '/path/file/to/destination' );

\###Поиск файлов и папок Выбираемые свойства искомых элементов
`$selectProperties = ['{DAV:}getlastmodified','{DAV:}getetag', ... ];`

Область поиска относительно корневой папки пользователя
`$searchScope = '/path/to/destination/';`

Уровень вложенности поиска
`$searchScopeDepth = 'infinity';`

Условия поиска
`$searchWhere = ['eq::{http://owncloud.org/ns}fileid' => 999, ...]`

Сортировка
`$searchOrderBy = ['{http://owncloud.org/ns}fileid' => 'ascending', ...]`

`$response = $webDav->search($selectProperties, $searchScope, $searchScopeDepth, $searchWhere, $searchOrderBy);`

\##Share##

Документация по шарингу [https://docs.nextcloud.com/server/latest/developer\_manual/client\_apis/OCS/ocs-share-api.html](https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-share-api.html)

\###Авторизация### $share = new \\NextCloudWebDavSdk\\OCS\\Share( 'host', 'login', 'pass' );

\###Расшарить файл### $response = $share-&gt;createShare( 'path/to/share/file' );

\###Удалить шару### $response = $share-&gt;removeShare( 'shareID' );

\###Получить шару### $response = $share-&gt;getShares( 'path/to/share/file' );

\###Обновить шару### $response = $share-&gt;updateShare( 'shareID' );

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~19 days

Total

3

Last Release

2118d ago

PHP version history (2 changes)0.1PHP ^7.0.0

0.1.1PHP ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/04115448e652d298028aa043624b292f5ebb57319969f4f98cc242c270cd506c?d=identicon)[Satana.Konst](/maintainers/Satana.Konst)

---

Top Contributors

[![SatanaKonst](https://avatars.githubusercontent.com/u/33553777?v=4)](https://github.com/SatanaKonst "SatanaKonst (13 commits)")[![sskolobov](https://avatars.githubusercontent.com/u/22580874?v=4)](https://github.com/sskolobov "sskolobov (1 commits)")

### Embed Badge

![Health badge](/badges/satanakonst-next-cloud-web-dav-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/satanakonst-next-cloud-web-dav-sdk/health.svg)](https://phpackages.com/packages/satanakonst-next-cloud-web-dav-sdk)
```

###  Alternatives

[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
