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.
5.9 1.3 tmpfile VS Symfony CMFMeta package tying together all the key packages of the Symfony CMF project.
5.1 4.7 L4 tmpfile VS CakePHP CRUDProduction-grade rapid controller development with built in love for API and Search
4.4 0.0 tmpfile VS Knp RAD BundleRapid Application Development for Symfony2 [UNMAINTAINED]
1.9 0.0 tmpfile VS Knp RAD ComponentsA set of Rapid Application Development (RAD) components for Symfony.
* 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?
composer require denisyukphp/tmpfile
This package requires PHP 7.1 or later.
<?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.