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
Requires
- php: >=8.2
- ext-fileinfo: *
- laravel/framework: ^12.0
- livewire/livewire: ^3.5
- sopamo/laravel-filepond: ^1.5.0
- spatie/livewire-filepond: ^1.5.0
Requires (Dev)
- orchestra/testbench: ^9.0
- phpunit/phpunit: ^10.0
- symfony/mime: ^7.0
Suggests
- symfony/mime: Improve MIME -> extension mapping for more formats
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