2017 © Pedro Peláez
 

library temper

Intelligent PHP temporary files.

image

mmeyer2k/temper

Intelligent PHP temporary files.

  • Wednesday, August 3, 2016
  • by mmeyer2k
  • Repository
  • 2 Watchers
  • 1 Stars
  • 5,873 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

temper

Build Status, (*1)

Fast and intuitive temp file creation., (*2)

# Create a temp file instance
$temp = new \Temper\Temper('content to store in temp file');

# Return path to temp file (outputs something like "/tmp/[random file name]")
echo $temp->path();

# Return the temp file size in bytes
$size = $temp->size();

# Delete the temp file when you are done with it
$temp->destroy();

Thats all there is to it., (*3)

The Versions

03/08 2016

dev-master

9999999-dev

Intelligent PHP temporary files.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Michael Meyer