rap2hpoutre / fast-excel

🦉 Fast Excel import/export for Laravel
MIT License
2.1k stars 246 forks source link

Cannot import/read/parse xlsx from s3 #272

Open c00p3r opened 2 years ago

c00p3r commented 2 years ago

So I store a file in s3 as temp sotrage and then try to import/parse it but get reader exception I can't pass the file itself to import function as it expects string file path so I tried to add s3:// but failed again because during debugging I saw this vendor/box/spout/src/Spout/Reader/XLSX/Reader.php

/**
     * Returns whether stream wrappers are supported
     *
     * @return bool
     */
    protected function doesSupportStreamWrapper()
    {
        return false;
    }

can anyone advice if I can import from s3?