2017 © Pedro Peláez
 

library flysystem-memory

An in-memory adapter for Flysystem.

image

league/flysystem-memory

An in-memory adapter for Flysystem.

  • Friday, September 29, 2017
  • by frankdejonge
  • Repository
  • 5 Watchers
  • 24 Stars
  • 462,065 Installations
  • PHP
  • 43 Dependents
  • 2 Suggesters
  • 3 Forks
  • 0 Open issues
  • 3 Versions
  • 14 % Grown

The README.md

Flysystem Memory Adapter

Author Build Status Coverage Status Quality Score Software License Packagist Version Total Downloads, (*1)

This adapter keeps the filesystem in memory. It's useful when you need a filesystem, but do not need it persisted., (*2)

Installation

composer require league/flysystem-memory

Usage

use League\Flysystem\Filesystem;
use League\Flysystem\Memory\MemoryAdapter;

$filesystem = new Filesystem(new MemoryAdapter());

$filesystem->write('new_file.txt', 'yay a new text file!');

$contents = $filesystem->read('new_file.txt');

// Explicitly set timestamp (e.g. for testing)
$filesystem->write('old_file.txt', 'very old content', ['timestamp' => 13377331]);

The Versions

29/09 2017

dev-master

9999999-dev https://github.com/thephpleague/flysystem-memory

An in-memory adapter for Flysystem.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Chris Leppanen

adapter memory flysystem

04/06 2016

1.0.1

1.0.1.0 https://github.com/thephpleague/flysystem-memory

An in-memory adapter for Flysystem.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Chris Leppanen

adapter memory flysystem

26/06 2015

1.0.0

1.0.0.0 http://github.com/twistor/flysystem-memory-adapter

An in-memory adapter for Flysystem.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Chris Leppanen

league