2017 © Pedro Peláez
 

library tempdirectory

Provides a representation of a temp directory that will destroy itself.

image

derhasi/tempdirectory

Provides a representation of a temp directory that will destroy itself.

  • Thursday, February 22, 2018
  • by derhasi
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,799 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 13 % Grown

The README.md

tempdirectory

Travis CI Build status for master, (*1)

Provides a temporary directory object, that will kill remove the whole directory on destruction or shutdown., (*2)

Installation

Simpyl require with composer: composer require --dev derhasi/tempdirectory., (*3)

Usage

Example from composer-preserver-paths:, (*4)


$workingDirectory = new TempDirectory('path-preserver-test-working'); // Create directory to test. $folder1 = $this->workingDirectory->getPath('folder1'); mkdir($folder1); $file1 = $this->workingDirectory->getPath('file1.txt'); file_put_contents($file1, 'Test content');

The Versions

22/02 2018

dev-master

9999999-dev https://github.com/derhasi/tempdirectory

Provides a representation of a temp directory that will destroy itself.

  Sources   Download

GPL-2.0+

The Development Requires

test phpunit filesystem temporary

03/02 2017

0.1.5

0.1.5.0 https://github.com/derhasi/tempdirectory

Provides a representation of a temp directory that will destroy itself.

  Sources   Download

GPL-2.0+

The Development Requires

test phpunit filesystem temporary

07/01 2015

0.1.4

0.1.4.0 https://github.com/derhasi/tempdirectory

Provides a representation of a temp directory that will destroy itself.

  Sources   Download

GPL-2.0+

The Development Requires

test phpunit filesystem temporary

06/01 2015

0.1.3

0.1.3.0 https://github.com/derhasi/tempdirectory

Provides a representation of a temp directory that will destroy itself.

  Sources   Download

GPL-2.0+

The Development Requires

test phpunit filesystem temporary

29/12 2014

0.1.2

0.1.2.0 https://github.com/derhasi/tempdirectory

Provides a representation of a temp directory that will destroy itself.

  Sources   Download

GPL-2.0+

The Development Requires

test phpunit filesystem temporary

29/12 2014

0.1.1

0.1.1.0 https://github.com/derhasi/tempdirectory

Provides a representation of a temp directory that will destroy itself.

  Sources   Download

GPL-2.0+

test phpunit filesystem temporary

29/12 2014

0.1.0

0.1.0.0 https://github.com/derhasi/tempdirectory

Provides a representation of a temp directory that will destroy itself.

  Sources   Download

GPL-2.0+

test phpunit filesystem temporary