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

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners