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

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.