Description
Class for working with a temporary file in PHP as an alternative to the standard function tmpfile(). Supports a standard set of CRUD operations.
tmpfile alternatives and similar libraries
Based on the "Framework Extras" category.
Alternatively, view tmpfile alternatives based on common mentions on social networks and blogs.
-
Symfony CMF
DISCONTINUED. Meta package tying together all the key packages of the Symfony CMF project. -
Knp RAD Components
DISCONTINUED. A set of Rapid Application Development (RAD) components for Symfony.
CodeRabbit: AI Code Reviews for Developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of tmpfile or a related project?
README
TmpFile
composer require denisyukphp/tmpfile
This package requires PHP 7.1 or later.
Quick usage
<?php
use TmpFile\TmpFile;
$tmpFile = new TmpFile();
file_put_contents($tmpFile, 'Meow!');
rename($tmpFile, '/path/to/meow.txt');
Read more about temp file on Habr.
*Note that all licence references and agreements mentioned in the tmpfile README section above
are relevant to that project's source code only.