covex-nn/joos-stream

This package is abandoned and no longer maintained. The author suggests using the covex-nn/vfs package instead.

PHP stream wrapper, transactional virtual file system

Installs: 1 831

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/covex-nn/joos-stream

4.1.1 2013-11-29 21:29 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:23:18 UTC


README

Example

<?php

  JooS\Stream\Wrapper_FS::register("any-vfs-protocol", __DIR__);

  file_put_contents("any-vfs-protocol://" . basename(__FILE__), "hahaha");
  unlink("any-vfs-protocol://" . basename(__FILE__));

  // JooS\Stream\Wrapper_FS::commit("any-vfs-protocol");
  // echo file_exists(__FILE__) ? "yes" : "no";

  JooS\Stream\Wrapper_FS::unregister("any-vfs-protocol");

?>

Read more

Please visit wiki.