PHPackages                             arne-groskurth/temp-file - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. arne-groskurth/temp-file

AbandonedArchivedLibrary[File &amp; Storage](/categories/file-storage)

arne-groskurth/temp-file
========================

TempFile is a small library inspired by the SplTempFileObject providing solutions for commonly occurring tasks when dealing with temporary files.

1.5.0(4y ago)036.8k↓36.8%31MITPHPPHP ^5.4 || ^7.0 || ^8.0

Since Sep 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/arnegroskurth/TempFile)[ Packagist](https://packagist.org/packages/arne-groskurth/temp-file)[ Docs](https://github.com/arnegroskurth/TempFile)[ RSS](/packages/arne-groskurth-temp-file/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (12)Used By (1)

TempFile
========

[](#tempfile)

[![Build Status](https://camo.githubusercontent.com/2669286eac571200c4467df86513b496e6b51987d1aa0b28139651fabc47dd8b/68747470733a2f2f7472617669732d63692e6f72672f61726e6567726f736b757274682f54656d7046696c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/arnegroskurth/TempFile)[![codecov](https://camo.githubusercontent.com/cce1e8cd02d2849c7010310c4ee67daf1e7910723ad06af01e685b7e29c1f608/68747470733a2f2f636f6465636f762e696f2f67682f61726e6567726f736b757274682f54656d7046696c652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/arnegroskurth/TempFile)[![License](https://camo.githubusercontent.com/3bcb30da90a5b184e3e44d478e19f04abc2a840b79b857fe119fad72b00f9c6c/68747470733a2f2f706f7365722e707567782e6f72672f61726e652d67726f736b757274682f74656d702d66696c652f6c6963656e7365)](https://packagist.org/packages/arne-groskurth/temp-file)

TempFile is a small library inspired by the [SplTempFileObject](http://php.net/manual/en/class.spltempfileobject.php) providing solutions for commonly occurring tasks when dealing with temporary files.

Setup
-----

[](#setup)

```
$ composer require arne-groskurth/temp-file
```

Usage
-----

[](#usage)

```
