Laravel Livewire offers an easy way to upload multiple files in a few lines of code! One default behavior of Livewire's multi-file upload is uploading the files in one request.
There are times when we'd want to upload the files in separate requests, or customize how we upload each files--like showing separate file-upload progress bars, or even uploading each file in smaller chunks.
In my article, "Multi-File Upload with Livewire" , we walk through three approaches in uploading multi-selected files with Livewire:
- Default upload of files: in a single request
- Concurrent, upload of files in separate requests
- Chunked and concurrent upload of files in separate requests
Article Link: https://fly.io/laravel-bytes/multi-file-upload-livewire/
Top comments (0)