DEV Community

Kathryn Tan
Kathryn Tan

Posted on

Concurrent,Chunked,Mult-file Upload with Livewire

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:

  1. Default upload of files: in a single request
  2. Concurrent, upload of files in separate requests
  3. Chunked and concurrent upload of files in separate requests

Article Link: https://fly.io/laravel-bytes/multi-file-upload-livewire/

Top comments (0)