PHPackages                             uncovery/nextcloud - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. uncovery/nextcloud

ActiveLibrary[File &amp; Storage](/categories/file-storage)

uncovery/nextcloud
==================

A minimalist nextcloud API interface class for file handling

23PHP

Since Apr 2Pushed 2y ago1 watchersCompare

[ Source](https://github.com/uncovery/nextcloud)[ Packagist](https://packagist.org/packages/uncovery/nextcloud)[ RSS](/packages/uncovery-nextcloud/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

nextcloud
=========

[](#nextcloud)

a PHP Class that allows managing nextcloud files

functionality is basic. If you would like to add missing functions, please feel free to make a pull request.

Current available functions:

- read\_folder(string $folder, int $depth)

    Reads a folder and all it's contents to a certain depth of subdirectories. Returns results as an object
- filter\_files(object $files, array $content\_types)

    Uses the result of the above function to filter out only the files that match a list of mime\_contenttypes. REturns an array of file objects
- delete\_file(string $file\_path)

    Deletes a file from nextcloud. Returns the cURL output
- create\_folder(string $target\_folder)

    Creates a folder on nextcloud. Checks first if the folder already exists, then creates it if needed. Returns true if the folder already existed, returns the cURL result otherwise
- move\_file(string $source\_path, string $target\_folder)

    Move a file from it's current location to another folder. Attempts to create the target folder first. Rreturns the cURL output
- download\_file(string $path, string|false $target = false)

    Downloads a file. Either accepts a target location on the local machine to store the file, otherwise returns the flle contents.
- upload\_file(string $target\_path, string $file\_path)

    uploads a local file to a given file path. This allows renaming of the file since the target is not a folder but a filename You need to make sure the target path exists already. returns the cURL output.
- create\_share(string $path, string $expiry)

    creates a public share with the given expiry date returns the share URL

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/73bb644a2ed1c9559f247eb79ec2dd5f20da236e354c88558510a6ab9d800c85?d=identicon)[uncovery](/maintainers/uncovery)

---

Top Contributors

[![uncovery](https://avatars.githubusercontent.com/u/583808?v=4)](https://github.com/uncovery "uncovery (14 commits)")

### Embed Badge

![Health badge](/badges/uncovery-nextcloud/health.svg)

```
[![Health](https://phpackages.com/badges/uncovery-nextcloud/health.svg)](https://phpackages.com/packages/uncovery-nextcloud)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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