Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Slim\Http\UploadedFile - no way to retrieve client-provided full path to the file #1798
My particular example is importing CSV file using http://csv.thephpleague.com/examples/ library (one of the most popular libraries for working with files).
I want to import CSV data without uploading file to S3 (I'm using stateless container-based architecture) using following code:
<?php use League\Csv\Reader; $csv = Reader::createFromPath($uploadedFile->getClientFileTmpName());
Where path should be tmp_path from UploadedFile object (which is not available now).