2017 © Pedro PelĂĄez
 

library temporary-file-manager

Temporary file manager

image

pekkis/temporary-file-manager

Temporary file manager

  • Thursday, March 15, 2018
  • by pekkis
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12,102 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

pekkis/temporary-file-manager

A manager for application's temporary files. Deletes per-request., (*1)

Quickstart

Status

Full maintenance mode. If you want to maintain, holler., (*2)

<?php

use Pekkis\TemporaryFileManager\TemporaryFileManager;

$fm = new TemporaryFileManager($someDirectoryPath);

// Add some bytes
$ret = $fm->add($someContent);

// or add a file and it gets copied
$ret2 = $fm->addFile($someFilePath);

// Either way, you get a path to the temporary file
var_dump($ret);

// And when all the manager references are destroyed, typically at the end of a request, the files are deleted too.
unset($fm);

The Versions

15/03 2018

dev-master

9999999-dev

Temporary file manager

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

file filesystem temporary

25/07 2015

v1.0.0

1.0.0.0

Temporary file manager

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

file filesystem temporary

25/07 2015

v0.1.0

0.1.0.0

Temporary file manager

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires