Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Rikaelus's avatar

Livewire Temporary File Upload Storage

Hey all, I'm struggling to understand the options that aren't entirely clear from the documentation.

I can tell from the docs that the default behavior is to use the "default" filesystem (which is usually local). You can override that via a config in config/livewire.php, but I think if you set an S3 filesystem there the uploads are made by the client instead? And that also precludes uploading multiple files.

I'm trying to operate in that space between. I want the files (including multiple) to be uploaded to the host but then stored in an S3 filesystem. I know that strictly means uploading to the host and then the host uploading to S3, but that's fine. I just don't want the client uploading straight to S3 and I don't want to lose the ability to upload multiple.

Is there a supported way to do this? If not, is overriding and customizing _finishUpload the likely best path for a solve?

0 likes
0 replies

Please or to participate in this conversation.