Ana Sayfa / Kod ve Scriptler / Upflow - Resumable File Uploader PHP

Upflow - Resumable File Uploader PHP

Yeniden başlatılabilir parçalarla büyük dosyaları yükleyin; yeniden denemeler, sağlama toplamları ve kullanıcı başına kotalar.

  • Yayın tarihi10 Kasım 2026
  • Nerede çalışırPHP 8.2, PHP 8.3, PHP 8.4
  • VeritabanıMySQL 8.0, SQLite 3.x
  • Paket içeriği.php, .css, .json, .svg, .sql, .md, .yml/.yaml, composer.json, Dockerfile, JavaScript .js
  • Son güncelleme10 Kasım 2026
  • Canlı demoVar
Upflow - Resumable File Uploader PHP

Overview

Chunked, resumable uploads for huge files with pause, retry, checksum verification and per-user quotas. Upflow is a complete, self-hosted resumable File Uploader in plain PHP 8.2 — no framework, no Composer runtime dependencies and no build step. Upload the files, run the browser installer, choose SQLite or MySQL, and you are live in minutes.

Resumable file uploads for huge files — chunked, checksummed and self-hosted. A drop zone, live per-file progress, signed download links and an admin view of storage and failed chunks. No framework, no build step, no external services.

What's inside

  • Upload — 4 MiB chunks (configurable), per-chunk SHA-256, strict in-order append, duplicate-chunk idempotency, resumable tokens in the URL
  • Resume — Server offset is the source of truth; the browser caches the File in IndexedDB so a reload can continue without re-selecting, and falls back to a file picker
  • Finalize — Whole-file SHA-256 verified against the client hash, size checked, MIME sniffed with finfo; a mismatch resets the session cleanly
  • Images — JPEG/PNG/WebP metadata (EXIF, XMP, IPTC, text chunks) rewritten out without GD/Imagick; width and height recorded
  • Files — Stored outside the web root under opaque names, served through the app with the original name in Content-Disposition
  • Shares — HMAC-signed expiring tokens, optional password, atomic download cap, revocation
  • Admin — Bytes stored per day, physical disk usage, aborted-session cleanup, failed-chunk diagnostics
  • No JS — A normal multipart form handles small files; every list has an empty state

Why Upflow

  • Chunked upload protocol with per-chunk checksum, resume after refresh (session key in URL) and server-side assembly verification.
  • Signed, expiring download links plus per-file quotas and MIME sniffing; images re-encoded to strip EXIF.
  • Admin dashboard with storage usage, orphan cleanup and failed-chunk diagnostics.

Built to last

  • No framework and no runtime Composer packages — the ZIP is the whole application.
  • SQLite for a zero-config install and MySQL/MariaDB for production, from one migration pair.
  • 37 automated tests covering the money, state-machine, uniqueness and permission rules.
  • English and Chinese interface, dark mode, WCAG AA focus states, usable down to 360 px.
  • CSRF on every POST, prepared statements only, output escaped at the template.

Requirements

  • PHP 8.2 or newer with PDO (pdo_sqlite or pdo_mysql), mbstring, json, openssl and fileinfo.
  • Apache with mod_rewrite or Nginx; document root pointed at public/.
  • SQLite 3 (bundled with PHP) or MySQL 8 / MariaDB 10.4+.
  • Write access to the application root and storage/.

Quick start: upload the ZIP, point the document root at public/, open /install/ and follow the four steps. Docker users can run docker compose up -d --build instead and open the same installer.

Features

• Upload — 4 MiB chunks (configurable), per-chunk SHA-256, strict in-order append, duplicate-chunk idempotency, resumable tokens in the URL • Resume — Server offset is the source of truth; the browser caches the File in IndexedDB so a reload can continue without re-selecting, and falls back to a file picker • Finalize — Whole-file SHA-256 verified against the client hash, size checked, MIME sniffed with finfo; a mismatch resets the session cleanly • Images — JPEG/PNG/WebP metadata (EXIF, XMP, IPTC, text chunks) rewritten out without GD/Imagick; width and height recorded • Files — Stored outside the web root under opaque names, served through the app with the original name in Content-Disposition • Shares — HMAC-signed expiring tokens, optional password, atomic download cap, revocation • Admin — Bytes stored per day, physical disk usage, aborted-session cleanup, failed-chunk diagnostics • No JS — A normal multipart form handles small files; every list has an empty state • Self-hosted PHP 8.2 application with no framework and no runtime Composer dependencies • SQLite and MySQL/MariaDB support from one migration pair, with a four-step browser installer • 9 database tables, 29 routes and 37 automated tests • English and Chinese interface, dark mode, WCAG AA focus states, mobile down to 360 px • CSRF protection, prepared statements and escaped output throughout

Requirements

• PHP 8.2 or newer (tested on 8.2, 8.3 and 8.4) • PDO with pdo_sqlite or pdo_mysql • mbstring, json, openssl and fileinfo extensions • Apache with mod_rewrite, or Nginx with a front-controller rule • SQLite 3, or MySQL 8.0 / MariaDB 10.4 and newer • Write access to the application root and storage/ directory • A modern browser; no Node.js, Composer or build tools required