Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
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).