Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for laravel filesystem #361

Open
bobonov opened this issue May 22, 2024 · 2 comments
Open

Support for laravel filesystem #361

bobonov opened this issue May 22, 2024 · 2 comments

Comments

@bobonov
Copy link

bobonov commented May 22, 2024

Probably it is me that I didn't sort out how to do, but it seems that direct support for laravel filesystem is missing.
For export/import should be possible to use directly configured storage

@aleedksa
Copy link

@bobonov I am also here finding a way to store the sheets, as I am running this in queues, we can only set the laravel storage path to store the files locally but what about the other storge drivers like s3.

@danielDigitalArt
Copy link

I dont know about S3, but wouldn't it work like this?

(new FastExcel)->configureCsv(';', '"', 'utf-8')->import( \Storage::disk('imports')->path($fileName), function ($line) {
...
});

This is a shortened Version of what i use in a laravel project, where i have a Disk defined for the imports, where the Files get uploaded into so i am only searching the filename inside this disk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants