My app accepts user-submitted .zip files, which I temporarily store in local storage:
The challenge is that this creates a file with what I assume is some kind of hash:
This makes that zip file a pain to find later in the process.
Is there a way that I can define a custom name for that zip file? Ideally, I'd like to do something like:
Storage::disk('local')->put('exports/export_' . $export-id . '.zip', $request->custom_report_url);
However, when I run that code, it creates the following filepath:
Close, but not what I need. Any ideas?