Author Name Kathryn Anne Tan Social Media https://twitter.com/KTan360 Image by https://annieruygtillustration.com/ This however only uploads the files in one way: all files in one request, each file sent as a whole.

With it we'll upload our files in parallel requests, and by the end, in chunks!

Then declare $uploads as an array to cater for multiple file selection: use Livewire\WithFileUploads; class MultipleFileUploader extends Component { use WithFileUploads; public $uploads = []; Neat!

We'll feed the final file to Livewire's https://github.com/livewire/livewire/blob/master/src/WithFileUploads.php#L37 class in order to utilize Livewire's uploaded file https://laravel-livewire.com/docs/2.x/file-uploads.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners