mikehaertl/php-tmpfile
Create and manage secure temporary files in PHP with an object-oriented API. php-tmpfile handles creation, automatic cleanup, and safe paths across platforms—ideal for generating intermediate output, working with CLI tools, or handling uploads without manual temp file housekeeping.
ignoreUserAbort option to remove the file even if the user closes the connection prematurelysend() methodNote: There was an erroneous release 1.2.0 that did not contain the above change yet. To avoid any caching issues e.g. with packagist I've deleted that release and created 1.2.1 instead.
$contentType argument optional in send() method to fix deprecation warning with PHP 8.gitattributes to reduce package size$delete option to keep temporary files e.g. for debugging. Default is true.How can I help you explore Laravel packages today?