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
Meta package tying together all the key packages of the Symfony CMF project. -
CakePHP CRUD
Production-grade rapid controller development with built in love for API and Search -
Knp RAD Bundle
Rapid Application Development for Symfony2 [UNMAINTAINED] -
Knp RAD Components
A set of Rapid Application Development (RAD) components for Symfony.
Access the most powerful time series database as a service
* 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.