zentnova-libs/livewire-filepond-chunks

Laravel 12 + Livewire 3 wrapper for FilePond chunked uploads with instant finalize, server-side validation, and secure storage.

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

pkg:composer/zentnova-libs/livewire-filepond-chunks

v1.0.3 2025-08-26 05:19 UTC

This package is auto-updated.

Last update: 2025-09-26 05:30:02 UTC


README

  • Livewire 3 + FilePond chunked uploads
  • Instant Finalize: replace serverId with final storage path when upload completes
  • Strong server-side validation & security hardening
  • Bitbucket Pipelines CI

Install

composer require zentnova/livewire-filepond-chunks
php artisan vendor:publish --tag=zentnova-filepond-config
npm i filepond filepond-plugin-file-validate-size filepond-plugin-file-validate-type filepond-plugin-image-preview
php artisan storage:link

Usage (Instant Finalize)

See /examples/CreatePost.example.php and /examples/create-post.example.blade.php.

Security

  • CSRF headers for all endpoints
  • Route middleware: ['web','auth','throttle:uploads']
  • MIME sniffing (server), wildcard support (image/*), size limits, disk & path sanitization
  • try/finally stream close + temp cleanup
  • Consider re-encoding images / scanning uploads for public content