library temper
Intelligent PHP temporary files.
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
temper
, (*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)
dev-master
9999999-dev
Intelligent PHP temporary files.
Sources
Download
MIT
The Requires
by
Michael Meyer