PHPackages                             nino/laravel-nextcloud-fs - 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. nino/laravel-nextcloud-fs

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

nino/laravel-nextcloud-fs
=========================

Laravel Nextcloud Filesystem

2.1.0(1y ago)105.0k↑91.7%1[1 issues](https://github.com/treyssatvincent/laravel-nextcloud-fs/issues)1MITPHPPHP ^8.2CI passing

Since Dec 20Pushed 1y agoCompare

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

READMEChangelog (3)Dependencies (7)Versions (4)Used By (1)

laravel-nextcloud-fs
====================

[](#laravel-nextcloud-fs)

This package provides a Nextcloud driver for Laravel's Filesystem.

It's a wrapper around Flysystem's [WebDAV Adapter](https://flysystem.thephpleague.com/docs/adapter/webdav/).

Compatibility
-------------

[](#compatibility)

Laravel : 12, 11, 10

PHP : 8.4, 8.3, 8.2

Install
-------

[](#install)

Via Composer

```
composer require nino/laravel-nextcloud-fs
```

Usage
-----

[](#usage)

Generate a Nextcloud app password on the desired user's account: Settings &gt; Security &gt; Devices &amp; sessions.

Create a `nextcloud` filesystem disk:

```
// config/filesystems.php

'disks' => [
	...
    'nextcloud' => [
        'driver'     => 'nextcloud',
        'baseUri'    => 'https://nextcloud.example.org',
        'userName'   => 'laravel',
        'password'   => 'password-generated-by-nextcloud',
        'directory' => '', // optionnal: set a path as visible for nextcloud user defined in userName
    ],
	...
];
```

Use it as any Laravel filesystem :

```
use Illuminate\Support\Facades\Storage;

Storage::disk('nextcloud')->put('example.txt', 'Contents');
```

Note that file visibility features aren't supported (it's a WebDAV limitation).

Contributing
------------

[](#contributing)

Merge requests, bug reports and suggestions are welcome.

Please follow the following rules on your pull requests:

- One pull request per feature.
- Make sure each individual commit in your pull request is meaningful.
- Document any change in behaviour.
- Update the tests if necessary.

License
-------

[](#license)

This library is licensed under the MIT License. Please read the [license file](LICENSE) for more information.

It's based on the work of Protone Media : [pbmedia/laravel-webdav](https://packagist.org/packages/pbmedia/laravel-webdav) (also under MIT license).

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance43

Moderate activity, may be stable

Popularity29

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 59.2% 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 ~225 days

Total

3

Last Release

428d ago

Major Versions

1.0.0 → 2.0.02024-08-25

PHP version history (2 changes)1.0.0PHP ^8.1

2.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/41b1d76fe9767cdbacaa958345d3aadab0d9f836bef207ba9361c15bf84bddc6?d=identicon)[nin0](/maintainers/nin0)

---

Top Contributors

[![pascalbaljet](https://avatars.githubusercontent.com/u/8403149?v=4)](https://github.com/pascalbaljet "pascalbaljet (29 commits)")[![treyssatvincent](https://avatars.githubusercontent.com/u/18269685?v=4)](https://github.com/treyssatvincent "treyssatvincent (19 commits)")[![SeoFood](https://avatars.githubusercontent.com/u/2766011?v=4)](https://github.com/SeoFood "SeoFood (1 commits)")

---

Tags

laravellaravel-filesystemlaravel-packagenextcloudfilesystemlaravelnextcloud

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nino-laravel-nextcloud-fs/health.svg)

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

###  Alternatives

[yoelpc4/laravel-cloudinary

Laravel Cloudinary filesystem cloud driver.

3343.0k](/packages/yoelpc4-laravel-cloudinary)[zing/laravel-flysystem-obs

Flysystem Adapter for OBS

1211.2k](/packages/zing-laravel-flysystem-obs)[singlequote/laravel-webdav

1344.8k](/packages/singlequote-laravel-webdav)[bringyourownideas/laravel-backblaze

Backblaze B2 Cloud Storage for Laravel 5. Original by Paul Olthof (@hpolthof) continued by @bringyourownideas

1237.8k](/packages/bringyourownideas-laravel-backblaze)

PHPackages © 2026

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