2017 © Pedro Peláez
 

library flysystem-tempdir

Flysystem adapter for a self-destroying temporary directory

image

emgag/flysystem-tempdir

Flysystem adapter for a self-destroying temporary directory

  • Friday, January 5, 2018
  • by emgag
  • Repository
  • 2 Watchers
  • 6 Stars
  • 14,596 Installations
  • PHP
  • 2 Dependents
  • 1 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 12 % Grown

The README.md

Flysystem Adapter for Temporary Directory

build Software License Packagist Version, (*1)

An adapter for the Flysystem file system abstraction library which creates a temporary directory on local filesystem and which is automatically removed again on object destruct., (*2)

Installation

composer require emgag/flysystem-tempdir

Usage

As League\Flysystem\Filesystem wrapper:, (*3)

use Emgag\Flysystem\Tempdir;
$fs = new Tempdir($prefix = '', $tempdir = null, $destruct = true);
// fully qualified FS path
$fsPath = $fs->getPath();

or as Flysystem Adapter:, (*4)

use Emgag\Flysystem\TempdirAdapter;
use League\Flysystem\Filesystem;

$adapter = new TempdirAdapter($prefix = '', $tempdir = null, $destruct = true);

$filesystem = new Filesystem($adapter);
// fully qualified FS path
$fsPath = $adapter->getPath();

License

flysystem-tempdir is licensed under the MIT License., (*5)

The Versions

05/01 2018

dev-master

9999999-dev

Flysystem adapter for a self-destroying temporary directory

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matthias Blaser

18/05 2015

v0.1

0.1.0.0

Flysystem adapter for a self-destroying temporary directory

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matthias Blaser