sinapsteknologi/nextcloud-manager

Laravel package to upload files to Nextcloud, create public links, and auto-clean expired files.

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/sinapsteknologi/nextcloud-manager

v1.1.4 2025-06-29 17:23 UTC

This package is auto-updated.

Last update: 2025-10-29 17:58:53 UTC


README

A Laravel package to upload files to Nextcloud, generate public share links, and clean them programmatically.

Features

  • Upload file to Nextcloud via Laravel storage
  • Automatically generate public share link
  • Store file info in database
  • Revoke public shares
  • Artisan command to clean old files

Installation

composer require sinapsteknologi/nextcloud-manager

Configuration

php artisan vendor:publish --tag=nextcloud-config

Usage

use Sinapsteknologi\NextcloudManager\NextcloudService;

$url = app(NextcloudService::class)->uploadAndShare($request->file('file'));

Cleanup

php artisan nextcloud:clean --days=30