Download the PHP package marktaborosi/flysystem-nextcloud without Composer
On this page you can find all versions of the php package marktaborosi/flysystem-nextcloud. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download marktaborosi/flysystem-nextcloud
More information about marktaborosi/flysystem-nextcloud
Files in marktaborosi/flysystem-nextcloud
Package flysystem-nextcloud
Short Description A Flysystem v3 adapter for Nextcloud WebDav integration
License MIT
Informations about the package flysystem-nextcloud
Flysystem Nextcloud Adapter
Flysystem adapter for Nextcloud WebDAV integration.
Compatible with PHP 8.2+ and Flysystem v3.29+.
Features
- 📂 Nextcloud storage adapter for League\Flysystem
- 🏗️ Fully tested with Flysystem adapter utilities + additional tests
Requirements
- PHP 8.2 or higher
- Flysystem v3.29+
- Nextcloud instance (with WebDAV access)
- Docker (for local testing)
Installation
Usage
Testing
This adapter includes a full test suite using league/flysystem-adapter-test-utilities.
Running tests locally
-
Start the Docker containers:
- Run PHPUnit:
Important: Ensure the Nextcloud container is running and fully initialized before executing the tests.
Docker Setup
Provided docker-compose.yml
includes:
- MariaDB database
- Nextcloud app
Configuration expects:
- Admin user:
admin
- Admin password:
admin
- DB credentials: see
docker-compose.yml
or.env
.
Note: You can override port mappings easily via the
.env
file.
Example.env
variables:
Accessing the Nextcloud Web Interface
Once the Docker containers are up, you can access the Nextcloud web interface locally:
Default credentials:
- Username:
${NEXTCLOUD_ADMIN_USER}
(default:admin
) - Password:
${NEXTCLOUD_ADMIN_PASSWORD}
(default:admin
)
You can login and interact directly with your running Nextcloud instance.
Suggested Packages
sabre/dav
: Required for WebDAV communicationlarapack/dd
: Optional, for debugging purposes
License
The MIT License (MIT). Please see License File for more information.
Acknowledgements
Big thanks to:
- The PHP League for creating and maintaining Flysystem.
- Nextcloud for providing an excellent WebDAV API.
This adapter would not be possible without these open-source projects. 🙏
Made with ❤️ by Mark Taborosi