Replies: 1 comment
-
I don't think that is really possible right now |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working on a project that uses Laravel's On-Demand disks to create Filesystem disks from configurations provided by customers and stored in a database. I would like to use Laravel-Excel to parse files from these disks.
The documentation for "Importing from another disk" shows specifying the name of an alternate storage disk that is defined in the config file, but all on-demand disks use the name
ondemand
, with only the newest created being accessible (and this is undocumented behavior I do not want to rely on).I think I can use
Storage::set('custom_name', Storage::build($config))
and then callExcel::import
with that custom name, but that feels like a hack. Is there a better way to provide aFilesystem
instance to theimport
function, instead of only a name?Beta Was this translation helpful? Give feedback.
All reactions