Popularity
1.3
Growing
Activity
0.0
Stable
22
2
1

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.

Programming language: PHP
License: MIT License
Tags: Framework Extras     Crud     Delete     File     Tmpfile     Temp     Temporary     Auto     Tmp     Tempnam    
Latest version: v2.0.8

tmpfile alternatives and similar libraries

Based on the "Framework Extras" category.
Alternatively, view tmpfile alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of tmpfile or a related project?

Add another 'Framework Extras' Library

README

TmpFile

Build Status Total Downloads License

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.