2017 © Pedro Peláez
 

library temptation

Painless temporary files and directories that clean up after themselves.

image

icecave/temptation

Painless temporary files and directories that clean up after themselves.

  • Wednesday, October 8, 2014
  • by jmalloc
  • Repository
  • 2 Watchers
  • 8 Stars
  • 315 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 4 Versions
  • 2 % Grown

The README.md

Temptation

Build Status Code Coverage Latest Version, (*1)

Temptation is a simple PHP library for creating temporary files and directories that clean up after themselves., (*2)

composer require icecave/temptation

Example

use Icecave\Temptation\Temptation;

// Use the temptation object to create files and directories ...
$temptation = new Temptation();

// Create a temporary file ...
$file = $temptation->createFile();

// Use the temporary file ...
file_put_contents($file->path(), 'This is my temp file.');

// Don't do anything else!
// The temporary file is automatically deleted when the $file object goes out of scope.

The Versions

08/10 2014

dev-develop

dev-develop https://github.com/IcecaveStudios/temptation

Painless temporary files and directories that clean up after themselves.

  Sources   Download

MIT

The Requires

 

The Development Requires

file directory dir temp folder tmp

09/09 2014

dev-master

9999999-dev https://github.com/IcecaveStudios/temptation

Painless temporary files and directories that clean up after themselves.

  Sources   Download

MIT

The Requires

 

The Development Requires

file directory dir temp folder tmp

09/09 2014

1.0.0

1.0.0.0 https://github.com/IcecaveStudios/temptation

Painless temporary files and directories that clean up after themselves.

  Sources   Download

MIT

The Requires

 

The Development Requires

file directory dir temp folder tmp

02/10 2013

0.1.0

0.1.0.0 https://github.com/IcecaveStudios/temptation

Painless temporary files and directories that cleanup after themselves.

  Sources   Download

MIT

The Requires

 

The Development Requires

file directory dir temp folder tmp